Employers: discover CodinGame for tech hiring
CodinGame - Home
ACTIVITIES
PRACTICE
COMPETE
COOPERATE
LEARN
EVENTS
COMMUNITY
CONTRIBUTIONS
LIVE STREAMS
DISCORD
FORUMS
BLOG
Log In
Sign Up
PHP MasterMind
Balkara
13.7K 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 :)
38
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
Exercices de PHP pour débutant
By
Michwii
62.3K
260
0
Introduction à PHP - Module M1202 - MMI1
By
Jaze
10.2K
45
0
Exercice PHP - Base
By
profThiernesse
27.2K
68
0
Le PHP - Les bases du langage
By
profThiernesse
43.7K
58
0
CodinGame - Home
ABOUT US
CAREERS
PRIVACY
FAQ
CodinGame - Work
The #1 tech hiring platform
SCREENING
RETAIN
ABOUT US
CAREERS
PRIVACY
FAQ
Facebook
YouTube
Twitter
LinkedIn
FR
EN
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants
Keyboard Shortcuts:
?
Show / hide this help menu
×