b69776dfc3
AsciiArt fancyfication deluxe Rough draft for Menu class
master
Constantin Köpplinger
2023-03-30 23:41:58 +02:00
f5f846d995
Somewhat major refactor Snake is now a class, this marks the start of OOPing this thing Snakes are now an array, making for much sleeker code Optimized AllSnakeThings, at the cost of debug features like grow-on-key-stroke
Constantin Köpplinger
2023-03-30 00:57:43 +02:00
0f752bdb1c
Some refactoring Added frame time target
Constantin Köpplinger
2023-03-29 23:48:14 +02:00
854d1bfde1
Cleaned up a bit, OOPified it as well, even though I meant to keep it as procedural as possible (for now)
morpha
2023-03-28 23:21:20 +02:00
3da34fadb2
Multiplayer is in. It's messy.
morpha
2023-03-27 23:46:43 +02:00
fd552b1429
Fixed PlayArea tracking and rendering Fixed logical errors (particularly in variable/iterator naming) Added "frame timing" for a more consistent feel
morpha
2023-03-27 08:35:35 +02:00
f948626cd0
What a mess... but now with some actual snake logic! Self-collision is in Food is in (currently will cause lag with very large snakes due to re-rolling rng if position occupied by snake segment) Wall pass-through is in as well, right wall is a bit iffy because of the scroll bar and the auto-advance of the cursor on write
morpha
2023-03-26 22:43:27 +02:00
1ae55c0484
Replaced for-loop with while-loop as main loop Implemented end-game condition triggered by pressing ESC
morpha
2023-03-24 17:57:33 +01:00
256a05b930
Rudimentary rendering and movement implemented
morpha
2023-03-24 17:52:50 +01:00