A simple resource management game written in Java