Sacha Ligthert
|
53e6bfdf4d
#5 Print single line tail
|
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
|
65ccadb6d8
#12 It sucks, doesn't work.
|
2 роки тому |
Sacha Ligthert
|
47d5a6fb43
Quick clean-up of the render. =)
|
2 роки тому |
Sacha Ligthert
|
2009252bb8
Updated the go.mod/.sum...
|
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
|
c459247529
This should be a red apple (???)
|
2 роки тому |
Sacha Ligthert
|
b17918f052
Added scoring + apple mechanics
|
2 роки тому |
Sacha Ligthert
|
3fb13a165f
Esthetics
|
2 роки тому |
Sacha Ligthert
|
e66f2a2672
More comments
|
2 роки тому |
Sacha Ligthert
|
c2134de4b7
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
|
b2928ec073
Start with adding a render block, should expand on this.
|
2 роки тому |
Sacha Ligthert
|
8e10c82b67
Rename files for later
|
2 роки тому |
Sacha Ligthert
|
f2c3cfd891
Use more annoying names
|
2 роки тому |
Sacha Ligthert
|
78d73a7920
Trying that godoc format
|
2 роки тому |
Sacha Ligthert
|
fc18d74e1f
Handle food (functions to select an emoji from a string).
|
2 роки тому |
Sacha Ligthert
|
650d06167d
Simple design document to give myself direction.
|
2 роки тому |
Sacha Ligthert
|
a2077ff2a8
Go things
|
2 роки тому |
Sacha Ligthert
|
682219efe7
Playing around a bit and getting the hang of tcell.
|
2 роки тому |
Sacha Ligthert
|
40c16d3ea0
Initial commit
|
2 роки тому |