Skip to content

Joabsonlg/tic-tac-toe

Repository files navigation

Tic-Tac-Toe Welcome to Tic-Tac-Toe! This game allows two players to play a game of Tic-Tac-Toe over the internet.

To start a game, a player must visit the site and enter their name. This will create a new game and the player will become player 1. The game will then wait for another player to join.

Player 2 can then visit the site and enter their name. This will start the game, with player 1 going first.

Players alternate making moves by clicking on an empty square on the game board. The first player to get 3 of their symbols in a row (horizontally, vertically, or diagonally) wins the game. If all squares are filled and no player has won, the game is a tie.

If a player leaves the game, the other player wins the game.

The state of the game is displayed at the top of the page, including whose turn it is and the current winner (if any).

Thank you for playing Tic-Tac-Toe!


Jogo da Velha

Bem-vindo ao jogo da Velha! Este jogo permite que dois jogadores joguem um jogo da Velha pela internet.

Para começar um jogo, um jogador deve visitar o site e informar seu nome. Isso criará um novo jogo e o jogador se tornará o jogador 1. O jogo então ficará aguardando outro jogador se juntar.

O jogador 2 pode então visitar o site e adicionar seu nome. Isso fará com que o jogo comece, com o jogador 1 começando.

Os jogadores alternam fazendo movimentos clicando em um quadrado vazio no tabuleiro de jogo. O primeiro jogador a conseguir 3 de seus símbolos em uma linha (horizontalmente, verticalmente ou diagonalmente) ganha o jogo. Se todos os quadrados estiverem preenchidos e nenhum jogador tiver vencido, o jogo é empate.

Caso o jogador abandone o jogo, O jogador vence a partida.

O estado do jogo é exibido no topo da página, incluindo de quem é a vez e o vencedor atual (se houver).

Obrigado por jogar Jogo da Velha!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published