modernization, better food rendering, consistent player moving, snake intersections

This commit is contained in:
programsnail 2024-07-22 23:20:20 +03:00
parent adabb50a9e
commit b4509733da
8 changed files with 119 additions and 39 deletions

View file

@ -5,4 +5,7 @@
struct Player {
Vecf pos;
Vecf direction;
double speed;
double move_interval;
double move_time_delta;
};