uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 8926bbab2ac0d39e1298e546cb9acab29669f7ce
parent 3747574cf94813c616edf864ac1d7b7956df064d
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Tue,  2 Nov 2021 23:40:42 +0000

Fix new apple hidden underneath snake body

Diffstat:
Mprojects/examples/demos/snake.tal | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/examples/demos/snake.tal b/projects/examples/demos/snake.tal @@ -70,6 +70,7 @@ BRK ( clear ) #00 ;draw-snake JSR2 ( update ) ;move JSR2 ( draw ) #02 .snake/dead LDZ + ;draw-snake JSR2 + #83 ;draw-apple JSR2 ( score ) .snake/length LDZ #41 ;draw-score JSR2 ( reset ) #00 .arena/timer STZ @@ -168,7 +169,6 @@ RTN .arena/w LDZ MOD .apple/x STZ .DateTime/hour DEI2 .DateTime/minute DEI2 MUL2 #abcd MUL2 + .arena/h LDZ MOD .apple/y STZ - #83 ;draw-apple JSR2 RTN