Time trial
#224
Replies: 1 comment 1 reply
-
I think this is such a cool idea! The strategies around managing remaining time would be really interesting to see. How do you see time being exposed to snakes? I wonder if replacing the health field with a time remaining in milliseconds would work? That way (in theory, maybe with some code changes) the board could also show the remaining time. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a bit like timed chess.
So your snake gets 10 minutes to play the game, there are no per-turn timeouts. The time you use each turn is subtracted from the total time and when you are out you just keep going in whatever direction you went last with the error message "out of time".
So you can blow the entire 10 min in the first turn to make a plan or try and be very fast early on, then midgame take a multi-minute turn to compute a plan that you just follow for the remaining turns.
Beta Was this translation helpful? Give feedback.
All reactions