Welcome!
By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
Introduction to coding - 11. Making the monsters attack
Making the monsters attack
Storing information about the player
To keep track of the health and the amount of gold and potions the player has, we define 3 variables: