you could do that in many programming languages but it can often be a big hurdle getting comfortable with the language while trying to do something like that.
I'd say for a simple game then look into flash as there are loads of tutorials and websites about doing such stuff.
There are some simple Java programs also out there that get you into the basics of programming easily (I remember playing with a basic tank game where you had to code your moves which got me into the basics of java).
If you're looking for more 3D based ones without going into crazy functions in code then you could look at Adobe Director which has a 3D model built in that you can get going fairly straightforwardly (though it gets complicated fast).
Another I'm playing with at University is Virtools which has a drag and drop type of programming that gives it a flowchart type look. I got a basic maya character (with animations) imported and running around a 3D level in under a day.
There are loads more but it just depends on the time you have and the complexity you dont mind getting into
Si