need sample games programming code
Hi, I am helping a high school student design 2 simple games.
First, a simple strategy game (like aiming and shooting a cannon).
The second must use the keyboard or mouse to move an object through a course from one scene to another where a feat must be accomplished in each scene (example, jump over a fire). There has been no instruction about keyboard/machine interface. Can anyone send me any sample code or demo programs of something similar to these two programs, or advise about where to look to get an understanding of commands where the 'player' uses the keyboard to control graphics on the screen?
I really would be appreciate some help.