This is a discussion on "Need help with rockpaperscissors game" within the JavaScript Forum section. This forum, and the thread "Need help with rockpaperscissors game are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Need help with rockpaperscissors game
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Need help with rockpaperscissors game
ok , so basically i need all the help i can get with an college assignment i got
it requires you place 3 images on the page. Computers hands, players hand and graphic indicating the winner.it must also must have Computer's Score,Player's Score,Button to play the game. Pressing the button selects a random nr for each player. This number corresponds to a hand (scissors, paper or stone). A corresponding picture should automatically appear on the page for each player. According to the rules below a winner is selected and the graphic indicating who won should point to the winner (or both if its a draw). The winners score should be incremented and updated on screen. No points are awarded for a draw. The game continues until one player reaches a score of 5, in which case they are alerted to the fact and the scores reset. the only code i have to work with is : player1 = Math.round( Math.random() *2) ; please help me ![]() |
|
|
|
#2
|
||||
|
||||
|
Re: Need help with rockpaperscissors game
What's your skill level for javascript? It'll help us a lot knowing how much detail to put in.
__________________
Web Design And Development: Other Road Design | Problems with IE6?: KApp | My Blog: Only Nerds Allowed | Learning PHP? Lessons
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need a new ps3 game | danny322 | Webforumz Cafe | 5 | Apr 20th, 2008 14:22 |
| Scorpion Game | tox0tes | Webforumz Cafe | 22 | Oct 28th, 2007 00:09 |
| RSS Game | ciancomp | Other Programming Languages | 0 | Oct 12th, 2007 14:29 |
| AS3 game | alexgeek | Flash & Multimedia Forum | 7 | Aug 24th, 2007 19:05 |
| New Game Im Bored! | bruno89 | Webforumz Cafe | 68 | Dec 1st, 2006 17:59 |