If you have watched this video, then this game is no more a challenge for you... You already won by just watching it.
If you haven't, try it! : )
Download: Google Drive
This software was made with visual studio using basic IF ELSE IF and Random statements, Timer and basic math calculation. As you can see in the screenshot, the CPU wasn't actually 'Thinking'. I used the Timer to add a 1 millisecond to 2 seconds delay to give a CPU time to random a number.
Codes aside, let me explain how to play this game.
How to Play:
- Choose a number between 1 to 10 then press submit. The opponent will do the same.
- Your number and the opponents' number will add the numbers in the center of the screen. So, the first one to reach 100, wins.
Is it hard? Hell Yes, if you don't know the formula or 'strategy'.
Comments
Post a Comment
Please comment politely. Request is accepted. Any Inappropriate words, 18+ advertisement and SPAM will be immediately removed.