Simple game written on Java