a simple java 2d game