remove TODO about queuing movement commands

Mon, 04 Aug 2025 23:19:06 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 04 Aug 2025 23:19:06 +0200
changeset 249
2522fbeccede
parent 248
793a0108c6c4
child 250
d766b4f033d7

remove TODO about queuing movement commands

with the new grid size and player speed this is not an issue anymore

test/snake/snake.c file | annotate | diff | comparison | revisions
--- a/test/snake/snake.c	Mon Aug 04 23:12:22 2025 +0200
+++ b/test/snake/snake.c	Mon Aug 04 23:19:06 2025 +0200
@@ -480,7 +480,6 @@
         }
 
         // player rotation
-        // TODO: queue up to two movement commands (for sharp 90° turns)
         if (asc_key_pressed(ASC_KEY(LEFT))) {
             if (player->direction != MOVE_RIGHT) {
                 player->target_direction = MOVE_LEFT;

mercurial