thoughtstem / Summer2019

Other
4 stars 3 forks source link

Add more Katas to the Snake Game Kata Collection #561

Open cdouaihy opened 5 years ago

cdouaihy commented 5 years ago

Right now, the Snake Game collection in the Game Katas only has 3 Katas (making a green square, then a moving green square, and then a moving green square that you can control). The other Katas that we would need are:

Kata 4: Have red squares/circle to represent the apples/fruits for the snake to eat. Make it be in a random spot. (Check Click Game Kata 1 to see how to make something appear in a random spot)

Kata 5: Once the snake eats it, the fruit will disappear and be respawn in another random spot. (Click Game Kata 2 makes a square disappear, could be useful here)

Kata 6: Making the snake grow. It might be useful to have the rest of his body be a different color than the head.

Stephen has a Realm of Katas book (or something) that has a snake game section. It's useful to see how they do it in the book before implementing it on your own.