Commit Graph

7 Commits

Author SHA1 Message Date
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