Click the flag to run. Hit the "0" key to open the black and gray code box and hit the "1" key to close it. When you open the code box, if you are going to purchase stone, click the words "purchase stone(click)" Use the arrow keys to move girl sprite. When you see a troll, hit the "t" key then get close to the troll(basically touching it) and hit the "x" key, click the gold that appears to claim it. When you click the words "purchase stone(click)" and the blue man appears, when you asked the question( if you have enough gold(coins)) type "yes". To build a house( when you have enough stone) hit the "c" key.If you are touching the house the backdrop will switch to "house". When you see the small " next stage " button click it.The goal of the game is to get to where you see the "next stage" button and click it. There may be some extra code in the project but it still works.
Credit to Google CS First for making the sprite and backdrop.