12 Commits

Author SHA1 Message Date
Aryadev Chavali
02b20e3533 Added README and release flags 2024-05-08 17:11:40 +05:30
Aryadev Chavali
3679b80216 Added up down left right keys to controls 2024-05-08 16:49:31 +05:30
Aryadev Chavali
d0d61cbc15 Fixed bug where changing layout on game over would overflow timer 2024-05-08 16:49:17 +05:30
Aryadev Chavali
53ae6b9962 Added game over screen and a few wall layouts for grid
Also tuned the speed and fruit generation
2024-05-08 16:42:34 +05:30
Aryadev Chavali
40b0feb0a9 Added some more details to the side screen 2024-05-08 13:18:51 +05:30
Aryadev Chavali
e92871066a Timer for new fruit and player updating
Instead of changing the FPS we'll manage it ourselves and keep a
constant 60fps.
2024-05-08 13:18:27 +05:30
Aryadev Chavali
bdd79c42a1 Head of player is now distinctive 2024-05-08 13:17:59 +05:30
Aryadev Chavali
5cb2ff3a1a Random fruit generator and behaviour on eating them 2024-05-08 13:16:26 +05:30
Aryadev Chavali
ff2b74d8d1 Added vector operations to Point 2024-05-08 13:15:45 +05:30
Aryadev Chavali
a9797b80ca Introduced main game loop, a player character, fruits and walls
Game resets on player colliding with themselves or a wall.

Fruit increases size of player, and player's body follows the head.

There is text on the top left corner which shows time elapsed and
current score.
2024-05-08 11:14:37 +05:30
Aryadev Chavali
d11bd1d212 Raylib basic trianagle display 2024-05-08 01:58:26 +05:30
Aryadev Chavali
ea046912c7 First commit! 2024-05-08 01:50:14 +05:30