By using this site, you agree to our Privacy Policy and our Terms of Use. Close

About the easiest program you can produce which can be defined as a number guessing game which (in pseudo code) is the following:

Begin

number = Generate Random Number Between 1 and 100;

For 1 to 10

guess = get guess from command line;

If guess = number

End Program with congratulations message;

End If

End For

end program with try again message;

End

After that producing the following games with ASCII graphics is a decent challenge for the beginner programmer:

  • Tic-Tac-Toe
  • Solitare
  • Chess
  • Checkers
  • Battleship
  • Poker
  • Black Jack

When you have finished that, you will (probably) want to move onto basic 2D graphic versions of those games. After you are growing (amazingly) tired of turn based games it is time for you to move onto cloning games like Pong and Asteroids.