Java console game X & 0