Add game end condition check.
Fix table formatting and win condition message.