Archive for the ‘C#’ Category

Vampires vs Zombies

Vampires vs Zombies

Vampires vs Zombies game that I programmed in C# with XNA. The game is loosely based on chess, and you lose by starving to death or having your king killed. Ideas for the game was a group effort. Artwork done by Rebecca Eberhard.

Download link

Breakout

Breakout

Brick breaker game I made in C# using XNA. Six different levels that loop continuously until you lose the game. Four different power ups, and multihit bricks. Multihit bricks are black, and when there is one hit left they turn to the same color as the others on the current level.

Controls

Space – Launches the ball, and fires the lasers when in laser mode.
Arrow keys – Moves the paddle.
Enter – Pauses the game.

Power Ups

Extra ball – Extra balls left on the screen after the level is beat adds an extra life.
Slow Mode – White clock that slows balls for 30 seconds.
Fast Mode – Black clock that speeds up balls for 30 seconds.
Laser Mode – Shoot lasers from the paddle for 30 seconds. Breaks multihit bricks instantly.

Download link

Calculator

I wrote this in C# using WPF as the GUI. It is pretty basic as far as calculators go, but it was a good learning experience for validating input and parsing a string.

Download link

Chess!

Chess

Console based chess program that I created in C# around September of 2012. I spent approximately a month coding this. Pieces are represented by the first letter of their name. Knights are a lowercase k, while the king is a capitol K.

You play the game by typing in the coordinate of the piece you want to move, and then the coordinate the piece will move to. The program validates moves, check, and checkmate.

Download link

Tic-Tac-Toe

Tic-Tac-Toe

Created in C# around September of 2012. Click a square to mark the spot, and it alternates between X and O automatically.

Alerts you when a player has won, and you can click File -> New Game to play again.

Download link

Return top