snake.git
2 years agofix some display quirks master
Geoffrey Allott [Tue, 27 Dec 2022 09:06:41 +0000 (09:06 +0000)]
fix some display quirks

2 years agoallow moving into a snake that is moving away on that frame, and disallow moving...
Geoffrey Allott [Tue, 27 Dec 2022 08:58:36 +0000 (08:58 +0000)]
allow moving into a snake that is moving away on that frame, and disallow moving into the same space

2 years agoshow orig_highscore on screen and separate border/no border highscores
Geoffrey Allott [Tue, 27 Dec 2022 08:57:55 +0000 (08:57 +0000)]
show orig_highscore on screen and separate border/no border highscores

2 years agoadd ability to remove border
Geoffrey Allott [Mon, 26 Dec 2022 15:47:46 +0000 (15:47 +0000)]
add ability to remove border

2 years agoget any pending keys each cycle
Geoffrey Allott [Sun, 25 Dec 2022 20:32:36 +0000 (20:32 +0000)]
get any pending keys each cycle

2 years agofix ordering and key press
Geoffrey Allott [Sun, 25 Dec 2022 20:12:16 +0000 (20:12 +0000)]
fix ordering and key press

2 years agofigure out actions before moving snakes
Geoffrey Allott [Sun, 25 Dec 2022 19:42:34 +0000 (19:42 +0000)]
figure out actions before moving snakes

2 years agorefactor for up to 4 players
Geoffrey Allott [Sun, 25 Dec 2022 19:37:29 +0000 (19:37 +0000)]
refactor for up to 4 players

2 years agomake tile selection more clean
Geoffrey Allott [Sat, 24 Dec 2022 13:33:22 +0000 (13:33 +0000)]
make tile selection more clean

3 years agoimprove text alignment
Geoffrey Allott [Tue, 6 Dec 2022 19:35:17 +0000 (19:35 +0000)]
improve text alignment

3 years agoadd "r" to restart
Geoffrey Allott [Tue, 6 Dec 2022 19:27:01 +0000 (19:27 +0000)]
add "r" to restart

3 years agoprevent score showing +1 on game over
Geoffrey Allott [Tue, 6 Dec 2022 19:20:29 +0000 (19:20 +0000)]
prevent score showing +1 on game over

3 years agochange \a to beep()
Geoffrey Allott [Tue, 6 Dec 2022 19:15:09 +0000 (19:15 +0000)]
change \a to beep()

3 years agoclean up score and exit
Geoffrey Allott [Tue, 6 Dec 2022 09:55:08 +0000 (09:55 +0000)]
clean up score and exit

3 years agoread height, width only once
Geoffrey Allott [Tue, 6 Dec 2022 09:42:19 +0000 (09:42 +0000)]
read height, width only once

3 years agocode cleanup
Geoffrey Allott [Tue, 6 Dec 2022 09:36:02 +0000 (09:36 +0000)]
code cleanup

3 years agoallow vim keybindings and add pause key
Geoffrey Allott [Fri, 2 Dec 2022 20:14:36 +0000 (20:14 +0000)]
allow vim keybindings and add pause key

3 years agofull snake game - playable
Geoffrey Allott [Fri, 2 Dec 2022 19:30:17 +0000 (19:30 +0000)]
full snake game - playable