- Language: C#
- Overview: The Goal with this project was to build a Battleship Game to run in Windows.
- Datagridview was used as the game board, players had full control to place their ships without overlaps within the game board.
Players then faced a competitent AI and attempted to sink their battleships. Random.org API implemented to improve randomness.
- Greatest Challenge
- The most challenging part of this project was thinking through the enemy AI. The AI randomly picks a place on the game board that it hasn't already
chosen. If it gets a hit it will randomly target either directly above, below, right, or left of the successful hit. It will do that until it gets a second
hit then it will know the direction (horizonal or vertical) the ship is facing and will follow that linear path targetting in both directions until it is sure
the object is destroyed. If it got a hit on a potential additional ship it would come back to it and destroy it after completing the first. If I had more time
I would have implemented tracking of the different ship sizes so the AI would know which ships it has elminated and what is left to narrow it's targetting. For instance, if
the final ship is 4 blocks wide the AI could focus it's random targetting to blocks spaced three apart horizontally and vertically to increase chances of getting a hit.
- Unreal Engine Game
- Overview: Team Project For An Interdisciplinary Game Development Class at Purdue
- Used Unreal Engine's Blueprint system to develop a game about a vampire with a human ranch must get back all his escaped humans after a delivery goes awry
and they escape. The player must puzzle out how to capture various humans before the sun rises.
- Blueprints
- Unreal Engine uses Blueprints to enable interactions, events, etc in games. It's a powerful too which is similar to programming in that in supports loops, casting, etc.
You often begin with an event or trigger, and connect nodes to produce the desired outcome. The images above show the editor open with our level in it and the Blueprint editor
open showing a Blueprint I made for the player pressing "F" on the keyboard. The game gets all actors in the game, then selects only those close to the player. From there it branches
and has different effects for different characters. For some humans it hypnotizes them, for those already hypnotized it makes them stop following,for cellphone towers it plants
fireworks on them to blow them up if they are in your inventory, etc. We wanted one key to do as many actions as possible to keep things simple.