Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with simple CGI game

Status
Not open for further replies.

stuellry

Programmer
Apr 14, 2004
4
US
I want to offer a very simple game via CGI and don't know that much about it yet. Basically I need to randomly generate four choices from six colors (blue, green, red, yellow, brown, purple) without repeating colors then allow the user to choose four from the same list, again no repetition. Then a button to check the number of pegs in proper position and proper color AND a separate response for number of correct colors but wrong positions. Assume that the correct answer can be stored in a hidden field and users won't know how to cheat (children). Previous guesses don't need to be stored. Any help is appreciated, thanks.
 
yes, that is exactly what i need, just in Perl CGI and in a more simplified version.
 
The question is a little broad for these boards. Yes, it can be done, and it sounds like you have a reasonable outline of what needs to happen, so just start away with it. Come back if you have problems.

What's your skill set with programming in general and perl specifically?

________________________________________
Andrew - Perl Monkey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top