Global variable undefined?!

https://katrina-ryanreese09.c9.io/index.html

Open the console and add two users (or more, doesnt matter). The alert is supposed to be for the variable “whoseturn”…When you click the dice, it does gamePlay(), which then calls diceRoll. It technically goes beyond that but it fails in the diceRoll function.

Nevermind, fixed it.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.