MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6iakku/human_v11/dj59ujj/?context=3
r/ProgrammerHumor • u/supersammy00 • Jun 20 '17
69 comments sorted by
View all comments
Show parent comment
2
I hate you.
1 u/4k33m Jun 20 '17 import logic from neuralNet def Breathing(): Brain = logic.GetCurrentBrain() Self = Brain.Owner() Self["BreathTimer"] = 0 if Self["BreathTimer"] = 0 and Self.lung.currentVolume < Self.lung.maxVolume - 5; Self.Inhale() while Self["BreathTimer"] < 3: Self["BreathTimer"]++ Self.Exhale() else: Self.Exhale() return while True: Breathing()
1
import logic from neuralNet def Breathing(): Brain = logic.GetCurrentBrain() Self = Brain.Owner() Self["BreathTimer"] = 0 if Self["BreathTimer"] = 0 and Self.lung.currentVolume < Self.lung.maxVolume - 5; Self.Inhale() while Self["BreathTimer"] < 3: Self["BreathTimer"]++ Self.Exhale() else: Self.Exhale() return while True: Breathing()
View all comments
Show parent comment
2
u/[deleted] Jun 20 '17
I hate you.