Simple game made in java