Employers: discover CodinGame for tech hiring
EVENTS
UPCOMING
PAST
SOLO
PUZZLES
CODE GOLF
OPTIMIZATION
MULTI
LEADERBOARDS
CLASH OF CODE
BOT PROGRAMMING
CODING ESCAPE
COMMUNITY
CONTRIBUTIONS
LEARN
DISCORD
FORUM
LIVE STREAMS
BLOG
Log In
Sign Up
PHP MasterMind
Balkara
16.4K views
01
What you will Learn
Welcome!
What are the rules?
02
Knowledge
Random numbers
Read user inputs
Dialog
Ordered list
03
Realisation
Making you script
A solution
7/8
Making you script
Previous:
Ordered list
Next:
A solution
Write your Game
A few advices:
Try, search, fail, correct your code as many times as needed, there is multiple ways to write this game.
Have game's rules in mind
Focus on the logic first, write it down in your own words, and transpose it to code afterwards
Comment your code!
Enjoy and do not cheat :)
41
0
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
Suggested playgrounds
ABOUT US
CAREERS
PRIVACY
FAQ
CodinGame - Work
The #1 tech hiring platform
SCREENING
INTERVIEWING
ABOUT US
CAREERS
PRIVACY
FAQ
Facebook
YouTube
Twitter
LinkedIn
FR
EN