Skip to content

italo-mauricio/Tic-Tac-Toe-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe in Java

This project is a Tic Tac Toe game in Java, where two players can play. Tic Tac Toe is a popular and simple game that is played on a 3x3 board. The objective is to get three of the same symbols in a row, column, or diagonal.

This project was developed in Java for educational purposes and to demonstrate the implementation of a simple game in Java. It uses object-oriented programming concepts, such as classes and methods, to implement the game logic.

Developer Status

  • Name: Italo Mauricio
  • Age: 24 years old
  • Skill: Back-end Developer
  • College: Federal University of Rio Grande do Norte - 3rd semester.
  • Major: Information Systems

System requirements

To run this project, you will need the following software installed on your computer:

  • JDK (Java Development Kit) 8 or higher
  • An IDE (Integrated Development Environment) of your choice, such as Eclipse or IntelliJ IDEA.

How to run the project

  1. Clone this repository on your computer using the command below:
      git clone https://github.com/italo-mauricio/Tic-Tac-Toe-Java.git
    
  1. Open the IDE of your choice and import the project.
  2. Compile and run the project from the main class.
  3. When the game starts, both players can take turns playing by entering the row and column in which they want to make their move.
  4. The game will continue until a player wins or there is a tie.

Project structure

The project is composed of the following classes:

  • TicTacToe: the main class that starts the game and manages the players' moves.
  • Board: the class that represents the game board and its positions.
  • Player: the class that represents a player and their moves.

In addition to these classes, the project also includes a Test class that can be used to test the game logic.

Repository Objective

To practice game development using Java Basic. The project is quite simple and aims to demonstrate some introductory object-oriented programming concepts. I intend to add more features to the project in the future and continue to update this repository.

Contributing

If you want to contribute to this project, feel free to send a pull request with your changes. Before submitting, make sure your files are formatted according to the project guidelines and that you have tested your changes. We appreciate your contribution!

License

This project is licensed under the MIT License. See the LICENSE file for more details.

By


Italo-Mauricio

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages