From 4f92817af71759cd4a86a414f841c63283f0139c Mon Sep 17 00:00:00 2001 From: QFSW Date: Thu, 11 Jul 2019 17:49:33 +0100 Subject: [PATCH 1/2] Added basic in game instructions --- src/game/game_main.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/game_main.asm b/src/game/game_main.asm index 3a6efda..572f83a 100644 --- a/src/game/game_main.asm +++ b/src/game/game_main.asm @@ -5,11 +5,13 @@ 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", 0 gameoverstr db "Game over!", 0 grid dq GRID_SIZE DUP(0) grbuf dq GRID_SIZE DUP(?) From bc84fdf3616f681881a757d2f38d01962880cf33 Mon Sep 17 00:00:00 2001 From: QFSW Date: Thu, 11 Jul 2019 17:55:53 +0100 Subject: [PATCH 2/2] Added more detailed in game instructions --- src/game/game_main.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/game_main.asm b/src/game/game_main.asm index 572f83a..5bed6e9 100644 --- a/src/game/game_main.asm +++ b/src/game/game_main.asm @@ -11,7 +11,9 @@ GRID_SIZE EQU GRID_WIDTH * GRID_WIDTH .data intro db "Welcome to 2048!", ASCII_LINE - db "Use wasd to move the tiles", 0 + 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(?)