re-engineered 5 row robot game: Jams#3
Conversation
| render(); | ||
|
|
||
| })(); | ||
| turn('down'); |
There was a problem hiding this comment.
I guess this was a test with 'down'? When you submit a pull request make sure you take out all your debug code.
There was a problem hiding this comment.
Yes, I tried to decode the concept behind the directions, it did not make sense. I did not notice the debug code was there. Wow I just notice what the direction mean.
There was a problem hiding this comment.
Yes, the right and left are relative turn directions. up, down, left and right are the absolute (compass) directions for the robot. Is this now your current understanding?
There was a problem hiding this comment.
Yes, that is my current understanding now. But the direction cannot change from → to ←? It can only turn to either left or right.
There was a problem hiding this comment.
Turn left or right twice in a row?
See the diagram in the README. You did see that, did you?
There was a problem hiding this comment.
Seeing the arrow keys in keyboard, as a 'confirmation bias' I had assumed to see a down or up turn. Now I understand it completely after seeing the README just now. I had seen it on your youtube recording.
Dear Sir,
I did bring changes to the robot, please grant me a pull request.