I created a piece of code where a player can move around in search of treasure. When a player lands on a treasure, 10 coins are added whilst if a player lands on a goblin, all coins are deducted. I have created a function for this "money", although it does not seem to work. Whenever I run the code it seems as if nothing from the money function works. Could anyone please edit my code so that it works, or offer any advice, thanks. Here is my code:I created a piece of code where a player can mo