23 Commits

Author SHA1 Message Date
47d5a6fb43 Quick clean-up of the render. =) 2023-11-23 22:51:53 +01:00
2009252bb8 Updated the go.mod/.sum... 2023-11-23 22:50:02 +01:00
b1cbe95485 Cleaning up comments 2023-11-23 22:47:12 +01:00
aea82ab765 #4 Gives the snake a tail. 2023-11-23 22:36:44 +01:00
3902d2b0a9 Prevents the snake from disappearing when its eating an apple. 2023-11-23 19:17:40 +01:00
c459247529 This should be a red apple (???) 2023-11-12 17:03:37 +01:00
b17918f052 Added scoring + apple mechanics 2023-11-12 16:57:52 +01:00
3fb13a165f Esthetics 2023-11-12 16:02:20 +01:00
e66f2a2672 More comments 2023-11-12 16:01:47 +01:00
c2134de4b7 Comments 2023-11-12 16:01:06 +01:00
44724cbbb6 Clean up something that didn't work in the first place. 2023-11-12 15:21:14 +01:00
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. 2023-11-12 14:51:06 +01:00
1f58fa5dbd For #1 split the gameplay loop up from the key processor. Non-blocking channels proof of concept. 2023-11-12 12:55:09 +01:00
9c1a9fc83d Splitting up functions, introducing the game director 2023-11-07 21:47:32 +01:00
b2928ec073 Start with adding a render block, should expand on this. 2023-11-06 23:44:17 +01:00
8e10c82b67 Rename files for later 2023-11-06 23:43:45 +01:00
f2c3cfd891 Use more annoying names 2023-11-06 22:36:47 +01:00
78d73a7920 Trying that godoc format 2023-11-05 23:51:39 +01:00
fc18d74e1f Handle food (functions to select an emoji from a string). 2023-11-05 23:49:27 +01:00
650d06167d Simple design document to give myself direction. 2023-11-05 23:29:00 +01:00
a2077ff2a8 Go things 2023-11-05 23:11:07 +01:00
682219efe7 Playing around a bit and getting the hang of tcell. 2023-11-05 23:09:24 +01:00
Sacha Ligthert
40c16d3ea0 Initial commit 2023-11-02 14:20:33 +01:00