Visual Studio - The '100' Nim-Like Game

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:
  1. Choose a number between  1 to 10 then press submit. The opponent will do the same.
  2. Your number and the opponents' number will add the numbers in the center of the screen. So, the first one to reach 100, wins.
Easy right? Yes.
Is it hard? Hell Yes, if you don't know the formula or 'strategy'.

Comments