0 Users appreciate this thread.
JS Games
djl12328 (2013-03-24 12:37:24)I don't know if this is the problem or not, but you are using 3 '=' sign in the 'if's and you put the 'compare()' function inside of the 'playGame()' function. Switch all ifs to 2 '=' signs, and put the 'compare()' function outside of the 'playGame()' function. -Proxion
www.dark-isle.weebly.com
djl12328 (2013-04-01 12:04:16)I haven't actually ever used a button in html, so I can't help here.
www.dark-isle.weebly.com
djl12328 (2013-04-02 06:44:45)Use this. <img src='button.png' onclick='playGame()'></img>
www.dark-isle.weebly.com
Log in to submit a comment
Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)
New registered users today: 7
Newest registered user: ElegantVulpes
As the title suggests, this is a thread for your JavaScript games/creations. You can ask others for help, or maybe ask for ways you can make the game better.