Programming Elective Game Projects

Posted by on Jun 5, 2014 in High School

The computer programming elective in 2014 produced a number of video game projects.

[edit] If you downloaded this file already before this edit, you should re-download it. Amos’ game had a bug that I created when I tweaked the parser, and Sam’s game was handed in after I posted the first version. Also, I added the retina version of the engine. [/edit]

AwesomeSauce, by Alex Binzen

A space-shooter. Use the WASD keys to move the ship, aim with the mouse and fire with the left mouse button. Blow up as many enemy ships as possible before the inevitable destruction of your shields.

Cage-o-flage, by Max Perkins

A stealth platform game. Use A and D to move, W to jump. You can jump on top of enemies to defeat them, or, when standing, hold down the S key to transform into Nick Cage in order to better blend in with the background and enemies will walk right by you. Get to the far right of each of the three levels to complete them.

Car Wars, by Asher Heaney

A multi-player automotive combat game. Player 1 uses WASD to move, C to fire bullets and V to fire missiles. Player 2 uses the arrow keys to move, P to fire bullets and O to fire missiles. You can only fire missiles once every few seconds. Pick a friend, pick an arena and be the last car driving.

Colorfall, by Sam Hayden

A puzzle platform game. Use A and D to move, W to jump. Avoid the green blocks and the moving fire or you’ll have to start the level over. The mushrooms will turn you to stone, immune to fire, for five seconds. Use that time wisely. Reach the sparkling portal on the right side of the level to advance to the next of the three levels.

Drivers Ed, by Fletcher Ambrose

Crash your car repeatedly in an endless quest for the high distance score. Use A and D to move left and right. It’s very fast. Don’t blink or you’ll miss a turn. That’s right: Don’t blink and drive.

Elflessness, by Emily Weatherill

Enjoy 30(!) levels of this puzzle platform game. Obstacles include fire, water, animated blocks, and visual illusions such as opaque blocks that can be walked through and transparent blocks that you can stand on.

Run Dog, by Luna Skeet-Browning

I can only imagine what that poor dog did to make the farmer so angry. Use the UP key to jump over obstacles, and the DOWN key to duck under birds. Flag checkpoints increase your speed, water slows you down. See how long you can evade the ever-speedier farmer before he catches you.

Sluggy, by Otis Hudnut

Platform combat. Use A and D to move left and right, W to jump. W at the apex to multi-jump (or just spam W!) Use E to switch weapons between switchblade, glock and bazooka. Aim with the mouse and fire with the left mouse button. Reach the green exit block on the right side of the screen to complete each of the three levels.

Toss the Nerd, by Marilyn Groppe

Ah, Toss-the-whatever. A timeless classic game format. Hit play, gather coins, visit the store and spend the coins to upgrade the coin value and frequency, the power of the cannon, and the coin magnet power of the ballistic nerd head. Repeat. Reach 1000 meters to win. Press the left mouse button while flying for a tiny vertical velocity boost.

Toucan Pie, by Amos Byrne

A text-only adventure game. Type commands such as “go east”, “examine bird” and “take book” to ultimately complete your noble quest. Resist the temptation to read the source code in order to cheat and figure out the puzzles.

 

All of these games have been packaged in a single file that can be downloaded and installed on most computers. Before downloading this file, you should know that it requires a bit of extra work to get them running. These are programming projects and are not packaged in commercial deliverable form. Instead, they’re packaged as source code so that in addition to being able to play the games, you can see the source itself and get an idea of how much work went into developing them.

Instructions:

1. Download the complete games package here: DOWNLOAD 2014 GAMES

2. Everything is in one .zip file. Extract the “final projects” folder anywhere you like (your desktop, documents folder, etc.)

3. Inside that folder are the projects. In order to run them, you must install Python and PyGame. Those are found inside the “python for mac” or “python for windows” folders. Install the appropriate packages for your computer, accepting the default settings.

4. To RUN the games, you should now be able to double-click on any of the project files in the “final projects” folder. If that doesn’t work, you may have to right-click on them and tell them to run with Python. If they open in the IDLE program, use the “run” menu item.

This may not work properly on some computers. I can’t promise anything. Macs with retina displays are particularly quirky. If you have a retina display, rename the “tsagame.py” file to “tsagame.bak” and then rename “tsagame(retina).py” to “tsagame.py” instead. Some versions of OSX may not work. Windows seems to work fairly consistently.

For the technically-minded:

If you would like to view the source code, open the project files, such as “Sluggy.py” in any text editor, such as TextEdit or Notepad. (Or TextWrangler or NotePad++ if you know what you’re doing.) The “developer tutorials” folder contains all of the documentation and instructional materials that were used in the elective. Once you have everything installed and running, you have everything necessary to develop your own games if you wish by following the tutorials and using the documentation provided. You can also use the existing projects as templates and modify them.

If you have any questions or issues, please feel free to e-mail me at jthorne[at]eclipsecat.com. I’m always eager to help anyone wanting to learn more about the software development process.

Jeremy Thorne

 

css.php