A simple Java game