Game XO java with console