Source Code:

Main Class Source

Covenant Class

 

 

 

 

 

Project NIM

NIM

Click picture for in-game clip

Details:

This was a project I worked on with a fellow classmate in my Artificial Intelligence class. The purpose of the project was to create our own version of the game NIM and develop the strategies the computer opponent would use. The code for the structure of the game was written by my fellow classmate, instructor, and myself. The GUI, however, was written by myself.

The GUI is based on the type of games where you shoot ducks in a row, but in this case, a Halo theme was used. Instead of ducks, the user now has to shoot grunts, elites, and hunters. This was the first GUI I had ever made and I only had two weeks to code it while learning the Java Monkey Engine, attending classes, and doing my other homework. Because of this most of the code is crude and non-object oriented. But, it does look good. :)