Sacha Ligthert
|
763ed9b38a
#7 Moved score into its own struct. Print score and reason of death at game over.
|
2 лет назад |
Sacha Ligthert
|
44f2c5a41d
Disable useless debug coords.
|
2 лет назад |
Sacha Ligthert
|
c5827793ef
Moving a constant between files.
|
2 лет назад |
Sacha Ligthert
|
1a9d75574b
#8 Added a function to validate if something is a valid move.
|
2 лет назад |
Sacha Ligthert
|
b1cbe95485
Cleaning up comments
|
2 лет назад |
Sacha Ligthert
|
aea82ab765
#4 Gives the snake a tail.
|
2 лет назад |
Sacha Ligthert
|
3902d2b0a9
Prevents the snake from disappearing when its eating an apple.
|
2 лет назад |
Sacha Ligthert
|
b17918f052
Added scoring + apple mechanics
|
2 лет назад |
Sacha Ligthert
|
3fb13a165f
Esthetics
|
2 лет назад |
Sacha Ligthert
|
e66f2a2672
More comments
|
2 лет назад |
Sacha Ligthert
|
44724cbbb6
Clean up something that didn't work in the first place.
|
2 лет назад |
Sacha Ligthert
|
de33a25864
#2 Start at the center of the screen. Always goes right. Sorta dies when it hits the border, but only when you are pressing a key. If it runs automatically into the border the game freezes.
|
2 лет назад |
Sacha Ligthert
|
1f58fa5dbd
For #1 split the gameplay loop up from the key processor. Non-blocking channels proof of concept.
|
2 лет назад |
Sacha Ligthert
|
9c1a9fc83d
Splitting up functions, introducing the game director
|
2 лет назад |
Sacha Ligthert
|
8e10c82b67
Rename files for later
|
2 лет назад |