Skip to content

Commit

Permalink
Merge branch 'feature/better-instrs' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
QFSW committed Jul 11, 2019
2 parents acfc7cc + bc84fdf commit 10d7760
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/game/game_main.asm
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ EXTERN addnum:PROC
EXTERN print:PROC, pinput:PROC
EXTERN rseedt:PROC

ASCII_LINE EQU 10
GRID_WIDTH EQU 4
GRID_SIZE EQU GRID_WIDTH * GRID_WIDTH

.data
intro db "Welcome to 2048!", 0
intro db "Welcome to 2048!", ASCII_LINE
db "Use wasd to move the tiles along the grid, if two tiles of the same number touch, they'll merge", ASCII_LINE
db "Try to get a 2048 tile, or go as high as you can!", ASCII_LINE
db "The game will end if every tile gets filled and you can't merge any tiles", 0
gameoverstr db "Game over!", 0
grid dq GRID_SIZE DUP(0)
grbuf dq GRID_SIZE DUP(?)
Expand Down

0 comments on commit 10d7760

Please sign in to comment.