HOW TO COMPILE AND RUN:
m4 utility.asm > utility.s m4 main.asm > main.s as main.s utility.s -o main.o as rand.s -o rand.o gcc main.o rand.o -o exe ./exe <my_name> <number_of_rows> <number_of_cols>
HOW TO PLAY:
This game is a simplification of the 1983 bomberman game.
- You have to run the game after compiling it -> ./exe bomberman 50 50 for example
- Then you will be asked if you want to see the leaderboard and how many records you want to retrieve.
- Then the game will automatically start -> You will have to provide valid x and y position for the bomb. Unlike the original game, the bomberman cannot die in this version of the game.
- Whenever a bomb is placed, it will "explode" and reveal some tiles. The possible tiles you can find are:
- [+] tile -> Gain score
- [-] tile -> Lose score
- [$] tile -> Double range rewards that allows you to discover more tiles
- [*] tile -> This is the exit tile. You can ONLY WIN if you find it.
- You will lose if you haven no more lives or bombs and can only win if you find the exit tile.
- If you want to exit at any time, you can just insert -1 whenever asked for an x or y bomb position.
- At the end, you will be asked if you want to see the leaderboard and how many records to retrieve.
Some Pictures of how to game looks: