CodeHero is a first-person shooter style game (ala Quake and Half-Life) that has you collecting code as ammo and shooting it to assemble programs to defend humanity against an AI run amok.
CodeHero is an educational project designed to get people interested in coding. The rough plot premise of the game is that there is an artificial intelligence agent of great power that is out to destroy humanity and only by fighting back–using code of course–can the hero of the game stop the mad AI. The game play itself is based around the hero collecting pieces of code in the form of ammunition and power ups and then using a code-shooting gun to assemble the pieces of code into functional programs to help in the fight. These programs can take the form of in-game structures, manipulating the game world, and attacking enemies. The game scales to progressively increase the challenges and the amount of original work (as oppose to simple cut and paste) the player does.
The game is current in beta and funded via Kickstarter–if you donate as little as a $1 to the project you’ll get an access code for the game (which is currently available for Windows and Mac OS X computers). Hit up the link below for more information.