Andreas Kling
|
79573ce7e6
|
Snake: Try to only repaint the parts that actually changed between ticks.
|
2019-04-20 15:04:34 +02:00 |
|
Andreas Kling
|
301a269ca0
|
Get rid of SERENITY macro since the compiler already defines __serenity__
This makes it a bit easier to use AK templates out-of-tree.
|
2019-04-20 12:58:49 +02:00 |
|
Andreas Kling
|
6ef8e2df5a
|
Snake: Use a vegetable icon for the fruit.
|
2019-04-20 04:00:32 +02:00 |
|
Andreas Kling
|
09c087177c
|
Snake: Clear the movement queue on game reset.
|
2019-04-20 03:47:35 +02:00 |
|
Andreas Kling
|
b41e95b578
|
Snake: Use a queue for the movement inputs.
This makes it a lot less finicky to make rapid moves like staircasing and
sudden turns.
|
2019-04-20 03:44:56 +02:00 |
|
Andreas Kling
|
e24e486714
|
Snake: Flesh out a basic snake game :^)
|
2019-04-20 03:24:50 +02:00 |
|
Andreas Kling
|
eca9494adf
|
Snake: Import skeleton of a new snake game.
|
2019-04-20 01:54:10 +02:00 |
|