forked from step-batch-7/snake-trinangkur
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
26 lines (19 loc) · 1.05 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--DONE-- * Paint or place a static snake on the screen
* Assume the snake is composed of blocks
--DONE-- * Create a simple page that will host the game
--DONE-- * Create a key listener on the grid so that the snake can move
--DONE-- * Move the snake one cell at a time from left to right
--DONE-- * Extract a Snake class that is responsible for snake's behavior
--DONE-- * Create a ghost snake that randomly roams around
--DONE-- * Extract a Direction class that is responsible for the direction
and the deltas
--DONE-- * Make snake and ghostSnake local. they're currently global and hackable.
--DONE-- * Change color of ghost snake
--DONE-- * Generate food periodically
--DONE-- * Allow snake to eat food when food becomes available
--DONE-- * Upon eating the food, snake should grow tall
--DONE-- * If snake touches itself or the walls, the game should be over
--DONE-- * Add a scoring mechanism
--DONE-- * Add special food.
--DONE-- * Added wrap in ghost snake.
--DONE-- * if snake's head touches any part of ghost snake it should die.