However, if you trigger the Mine then you can flood the board with Lava: You can customise the block to change to any block you wish. To change the block to gold when the player is standing on the block, use the code,Ĥ1 is the ID for gold. Because the player's position is used to build the original board and place the Mine you are required to find the players position again and store it as new variable (otherwise the board shifts around). The last part of the game is to create a while loop which checks whether you are standing on the Mine, if you are then it is Game Over, if not, then the block changes to gold.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |