Re:Show HN: JSRobot – A platform game you play by coding in ...
by positivecomment on Monday October 23, 2017 @06:23AM
(#15532058)
Exactly, the function should not be responsible to see if robot.action has any existing value. It should just return an action depending on the state.
[ Parent
| on HN ]
There are no comments on this comment yet.