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 :)
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.