RSS

C++

C++ is my strongest programming language, although it is not my first. I am currently in my 2nd year of using it. I have been using this language in conjunction with a specific API created by one of my lecturers.

UFO Wars
UFO Wars is the first full game I have made. It is a 2D top down shooter in which the objective is survival whilst getting as a high a score as possible. You control the UFO with WASD and the crosshair with the mouse. Use left click to shoot.
The source code is available on request.
Note: In order to play this game, you need to have the latest DirectX SDK (August 2008)

If the game does not work, there is a brief video of the gameplay.

Flocking Project
A friend suggested I should look into the basic behaviour of flocking. This is the result.
Note: In order to view the simulation, you will need the DirectX SDK (link above)

Predator and Prey Simulation v0.8
This is a work in progress, but I thought I’d show what I have so far. It is essentially an extension of the flocking project, except now there
are two types of flocking entity, predators and prey. The prey flee from the predators and the predators chase the prey. Upon a collision, the
predators ‘eat’ their prey.
As I said, this is a work in progress, and the flocking algorithms require a bit of extra attention, but the basis is there.
Note: In order to view the simulation, you will need the DirectX SDK (link above)

Path Following AI
This is the AI component from UFO Wars. It doesn’t compile due to outside dependencies, but it gives you an insight into my coding style.

A* Demo
This is a text based demo of the path finding algorithm A*. It uses vectors for navigation and is optimised to use a binary heap for speed and the route will choose a diagonal path as the best one.
Note: this demo was created prior to my placement. Through my dissertation, I have a vastly improved implementation of A*, but cannot post it up here as my dissertation is not complete.