Design a tic-tac-toe game with a user-friendly interface, allowing two players to take turns and determining the winner.