kingj3144 / WebSys-Assignment-2

Assignment 2 for websys
0 stars 0 forks source link

Game turns #2

Closed kingj3144 closed 10 years ago

kingj3144 commented 10 years ago

The game needs to restart itself (pick a new color for the next round of the game) when the use hits the submit button at that turn. We also need to keep track of the number of turn and only run the game for the amount of turn specified in the settings.

kingj3144 commented 10 years ago

Between turns the game should not start until the user clicks a "Next" button.

kingj3144 commented 10 years ago

I would recorded splitting the createCanvas function into createCanvas, witch creates an empty canvas and a setCanvas, which sets the color of the existing canvas. This way we doing have to recreate the entire element every turn. (sliders should also be reset to a value of 0)

hamlim commented 10 years ago

We need to put this value up with the difficulty and then perform if statement checks on the submit button to track if the turn's amount (which will be incremented each time they submit their guess) is at the value specified by the user.

hamlim commented 10 years ago

Also the turns will need to be specified by the user so we can implement a simple slider and text entry box so the user can enter a value for turns, i know the assignment says not to limit the turns to any positive number, but if we limit it to something like 100 or 1000 we can easily implement the slider and text box, text boxes have min and max attributes so that will be easily implemented.

kingj3144 commented 10 years ago

I have assigned my self to this and will try to get it working.

jedoublen commented 10 years ago

I'm gonna attempt to do the timer.

kingj3144 commented 10 years ago

We are accounting for time, but not displaying a timer.

jedoublen commented 10 years ago

Is the counter done?

jedoublen commented 10 years ago

NVM I see the timer.

kingj3144 commented 10 years ago

I got turns working and merged the code in. I am closing this issue.