Java Projects
Simple Word Processor
This is a piece of coursework that was assigned to me during my course at university, and the task was to create a simple word processor that has basic reading and writing from files - i.e. load and save functions. To run the program, you have to run 'java WordDriver' from a terminal/command prompt. The download can be found here.
Bouncing Balls
My first solo project assigned to me whilst at university, the task set was to write a program in Java which displayed a window in which bouncing balls would be created. This meant that I had to draw balls to the window, with an update function to show them moving around the window and bouncing off the edges of the window. There was also extra credit awarded for extra non-essential functionality. My end result had two buttons, one to spawn a new ball of random colour and at a random position, and one to exit the program. The extra functionality I implemented for the balls upon hitting the edges of the window was:
- Random chance to change direction.
- Random chance to change colour
- Random chance to either speed up or slow down
The download for the program, along with instructions on how to run it as well as a description of the functions implemented can be found here.
Screenshot:
Buyrite Simulation
I co-wrote this simulation with one of my team-mates in our group project during the second year of my course at university. It is a program for simulating customer flow through supermarkets of varying sizes, with values for customer happiness as well as predicted items they bought and how long they spent waiting at tills etc. all taken into account when calculating their happiness. The zip of the project can be found here, and instructions for running the program are included within.
Screenshots:
Simulated Annealer
This was my final year project at university, and took up most of 4 months for me to complete with all the documentation that went with it for submitting the project. The task assigned to me was to create a simulated annealer that could simulate the well known optimisation problem, the travelling salesman. As well as running a simulation of the travelling salesman problem, my program applies the simulated annealing method to a timetabling problem where a random timetable is created unsorted with lots of clashes between time slots and the annealer randomly swaps the slots on the timetable until a good solution is found.
The download for my program, with running instructions, can be found here. The documentation that I sent with my final submission can be found here.
Screenshot:
Project Categories
Java | Python | C#
This page was last edited on 23/10/2010.