/    Sign up×
Community /Pin to ProfileBookmark

Mastermind Game

I dont know how to do this game
please help…thank you

The game has five characters for the players to guess. To win the game, the player should
have exact the same answer with the random sequence. The game will continue until the
player wins the game. When the player wins the game, the program will ask whether to try
again or not.
Requirement:
Textbox input:
Only accepts 0-9 characters input, other characters input will not be shown in the textbox.

For 0-9 characters input, following conversion will be done automatically.
0 : )
1 : !
2 : @
3 : #
4 : $
5 : %
6 : ^
7 : &
8 : *
9 : (
Sample Output:

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@JMRKERJan 04.2011 — If you want help with a homework assignment

you need to, at least, make an attempt.

Hopefully you can do at least that much!
×

Success!

Help @Stanly spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...