| re: Introduction to game programming
Congratulations on wanting to make a video game!
Unfortunately, making a game can be quite difficult. I've been programming for several years now in 3 different languages and have only been able to make one game - a copy of Minesweeper - that doesn't even work. If you want to make your own game, you will have to come up with the concept, the code, the rules, and user interface, etc etc.
It's a lot easier to try and make a text based game to start off with. Try something simple, like a guessing game. Generate a random number, then ask the user to try to guess it. If the user's guess is too high, tell them so. If it's too low, tell them so. If they guess the number, they win! To make it harder, only give them 5 tries to guess a number between 1 and 50, or something like this.
Then keep coming up with increasingly cooler games. I recently made a vocabulary test type program which gets a listy of vocabulary words, randomly chooses one, displays the word and four definitions, and prompts the user to chooce the correct one.
If you finish these, think of some other simple games that you may want to try and mimic. Maybe you can make Rock, Paper, Scissors, or Tic Tac Toe, or even something as difficult as Chess!
Good luck!
|