A simple Owari game in Java