University Projects

University Projects

by on Aug.26, 2014, under University Projects

I’ve corralled all of my older University work into this section. I wrote them way back when I was still just a learner, and had no real professional experience. They are mainly here for posterity, since I would likely rewrite them rather than improve the existing Java projects; they shouldn’t be taken as representative of my newer work.

Leave a Comment more...

Star Horn

by on Oct.27, 2009, under University Projects

Star Horn (or Star Hike, depending on who you ask) was a group assignment for a computer graphics class in my undergraduate course, and my first major 3D game project. It is written in Java, and makes use of the JMonkey game engine.

Initial coding for the HUD and asteroid scene classes was done by other members of the group, as was the work done towards acquiring models, textures, sounds and other resources. On top of work I’ve done over time adding to the aforementioned code, the rest of the code – the core engine code, the gameplay, AI, et cetera – is mine. @author tags in comments should show what code is not mine.

The AI system here was fairly ambitious and only basic elements were working for the final submission; many ideas from it have been carried forward to Battle for Polaris, which is in many ways a continuation of the project re-designed and re-written for OGRE and C++.


  • Control a space ship in a 3D randomly-generated asteroid field
  • Use of graphical effects, such as particles and lens flare.
  • Three weapons: mass driver, laser and homing missile
  • Fight off increasing waves of AI enemies to beat your score

Planned Features

Battle for Polaris is pretty much the successor to this project, and as such I have no explicit plans to work further on Star Horn. However, the wave-defence scenario is something I do want to incorporate into BfP. For posterity and reference, here is the planned features list I had at time of original upload:

  • An easily-executable download version.
  • High Scores screen.
  • A better HUD.
  • More varied enemy ship types.
  • More advanced AI, including coordinated groups and simple adaptivity when choosing ships for the next wave.
  • Power-ups and upgrade purchases.
  • The ability to travel between sectors.

Known Issues

  • There may still be a pesky crash bug or two.
  • Ship rotation could be smoother for the first-person camera.
  • Some other optimisation could improve and smoothen the gameplay.
  • Particle effects could use some tweaking for appearance.


StarHorn Screen 1 StarHorn Screen 2


Star Horn was developed using Eclipse SDK; source code downloads are in the form of Eclipse workspaces. The version of JMonkey with which it was developed is provided.

StarHorn Eclipse Workspace including JMonkey (.ZIP, 60.8 Megabytes)

Leave a Comment more...

NeTron 0.1a

by on Sep.12, 2009, under University Projects

NeTron was an assignment for a computer networks class in my undergraduate course. Written in Java using Swing for the GUI and threaded sockets for client/server communication, it allows multiple players to play the classic game over a network.

This is mainly here¬†as an example of my work with Java, networking, and threaded systems.¬†I’d like to work on this again, not only to fix the bugs, but also as I’m keen on playing with adding AI players.

I may, however, eventually decide to rewrite it – or start a new similar project – in C++, considering the amount of experience I’ve gained since this was written. However, Battle for Polaris and other newer projects have tended to take precedence.

Planned Features

  • Proper GUI feed-back for when the client is waiting for the game to begin.
  • Help (F1) display that informs the player of the game rules and controls.
  • A control and monitoring system for the server.
  • AI-controlled players.
  • Multi-game sessions and scoring.

Known Bugs

  • Separate players may go out of sync
  • The server program needs to be restarted once a game ends


Click for full-sized versions.

NeTron 0.1a Screen 1 NeTron 0.1a Screen 2


NeTron 0.1a Source code

Executable download and/or web applet should come in a future update.

Leave a Comment more...