This is a simple implementation of the classic game Noughts and Crosses. The game features a 3x3 grid where two players take turns marking the cells with either "X" or "O". The first player to align three of their symbols horizontally, vertically, or diagonally wins the game. If the grid is filled without any player winning, the game results in a tie.
- Two Players: Play against another person.
- Turn-Based: Players take turns marking the cells.
- Win Detection: Automatically detects and announces the winner or a tie.
- Game Reset: Option to reset the game and start a new round.
- Open the Game: Load
index.html
in your web browser. - Take Turns: Click on an empty cell to place your mark ("X" or "O").
- Win or Tie: The game will announce the winner or if the game is a tie.
- Reset the Game: Click the "Resetar Jogo" button to start a new game.
index.html
: The main HTML file that defines the game structure.styles.css
: The CSS file that styles the game board and elements.script.js
: The JavaScript file that contains the game logic and interactivity.
No installation is required. Simply download or clone the repository and open index.html
in your web browser to start playing.
If you'd like to contribute to the project, feel free to:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes.
- Submit a pull request.
This project is licensed under the MIT License.
For any questions or feedback, please contact nathallylym@gmail.com.
Happy Playing!