A small java game for the course