Reply
Javascript Help
Old 04-01-2008, 02:54 PM Javascript Help
Novice Talker

Posts: 10
Hi guys

I need help with some help with javascript. I am trying to design a mastermind game got all the basics
  • computer selects code
  • user inputs code
  • computer compares codes
  • computer gives an out put
I have managed to get a random code going but i want it to only select one colour in the code. Can any one help me ?

Cheers

ron007
ron007 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 04-02-2008, 05:13 AM Re: Javascript Help
chrishirst's Avatar
Super Moderator

Posts: 11,865
Location: Blackpool. UK
line 37 change 4 to 1
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Javascript Help
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.31039 seconds with 13 queries