Commit Graph

8 Commits (2e05977e12d4f8e076d46fe4cca9e187b0daa163)

Author SHA1 Message Date
Nakidai b611b54575
Switch to threads.h 2023-10-30 02:51:46 +03:00
Nakidai 758dbf9cc2
Some fixes
- Fix UB in playerCreate (it had no return)
- Now Screen has field of Points, not chars
2023-10-30 02:36:03 +03:00
Nakidai b402dc177c
Add gameplay
- wasd - turn snake
- q - leave
2023-10-30 01:55:20 +03:00
Nakidai abda36c1c3
Some fixes & start to make gameplay
- Fix input function, so now it can be used as thread
- Edit main loop, to quit press q
- Add score incrementing for player
2023-10-30 00:24:13 +03:00
Nakidai fac72a00ed
Add player 2023-10-29 23:14:51 +03:00
Nakidai c7797f1f41
Change inputArgs to InputArgs 2023-10-29 22:35:37 +03:00
Nakidai 9dc2da1f90
Add input function 2023-10-29 21:31:33 +03:00
Nakidai 03481db05f
Add files 2023-10-29 20:03:23 +03:00