The app is done as CS50 Final Project. So I made all the tasks programmatically and will introduce You what I have done overall.
This is Snake50 - a classical game "Snake" for Android and iOS.
- Created window game start
- Created playfield, which consists of:
- Snake
- Obstacle - stone
- Treats - cookies
- Inscriptions, which counted game score
- Snake is moving with a certain speed
- When the snake reaches the edge of the screen, it appears from the opposite edge of the screen
- Every time, when the snake eats a cookie, the following things are happening:
- Snake is incremented by one ball
- The score is increased by one
- Obstacle - the stone changes its location randomly
- Cookie changes its location randomly too
- When the snake bumps into itself or hits the stone, the Game Over screen appears