The classic snake game made in flowgorithm. Eat apples to get longer (max size = 6), dont hit the border or yourself
- Leo - Project lead / Rendering
- Valentino - Entities
- Leon - Controls / Leaderboard
continously accept user input and provides the direction for the snake to go in. uses the control file to check for user innput
- method for taking continious control
- loop
process the control input into change of cordinates for snake
- [ ]
spawn apples at random cordinates and gamesteps.
- function that returns int array with cordinates for apple
- generate apples on every 8th step
- check if snake cordinates == apples cordinates
- keep track of score
checks if the player has taken an apple or lost the game
- [ ]
a set of functions that print out the full game board. The board is stored as a string array acting as a 2d array
- line by line rendering
- board aspect ratio 12/24
- snake rendering
- paramterized
- more utility functions
- borders and UI
- timestep + movement
- optimisation ?
this is the sequence of events that happen inside the main game loop
- Control Input
- Snake Move
- Spawn Apple
- buffer
- check conditions < check snake
- render
- timestep
- leaderboard