added cute screenshot

This commit is contained in:
giomba 2020-04-23 12:26:19 +02:00
parent 72d5e6b33e
commit e548f48e72
3 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,11 @@
# snake6502
![Gameplay screenshot](scrot/gameplay.png)
*snake6502* is a snake-like game clone for Commodore home computers, written for fun because «I always wanted to code something for a computer of my retrocomputers collection actually, this is the main reason I collect them: to write programs».
## Compile
You need the [dasm](https://dasm-assembler.github.io/) macro assembler, then:
You need the GNU compiler collection and the [dasm](https://dasm-assembler.github.io/) macro assembler, then:
```
$ make
```

BIN
scrot/gameplay.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -207,7 +207,7 @@ foodEaten:
inx
stx length
cpx #$40 ; check if level is finished
cpx #$0a ; check if level is finished
bne genFood ; if not, skip
clc
lda score ; else increment total score