Sebastian-Sonne / TicTacToe

A simple Java implementation of TicTacToe
MIT License
0 stars 0 forks source link

Tic Tac Toe

This project is a simple implementation of the classic Tic Tac Toe game in Java.

Features

Getting Started

  1. Open your terminal. Navigate to a folder of your choice and clone this repo, or, download the bin folder alternatively
    git clone https://github.com/sebastian-sonne/ticTacToe.git
  1. Within this folder, navigate to the bin folder. Replace "/path/to/this/project" with your actual path
    cd /path/to/this/project/bin
  1. Run the following command to execute the java file and start the game
    java Frame

Note: Java needs to be installed on your computer

Controls

Contributing

Contributions are appreciated! If you have ideas for improvements or new features, feel free to open an issue or submit a pull request. You can find a list of all open issues here.

To start contributing, fork this Repo using

    git clone https://github.com/sebastian-sonne/ticTacToe.git

The java files are located in the src folder. When you have completed your contribution, compile both the Frame.java, and the Panel.java file like so:

  1. Navigate to the project folder using your terminal. Replace "/path/to/this/project" with your actual path

    cd /path/to/this/project
  2. Run the following command to compile the files

    javac src/*.java
  3. Move the generate .class files into the /bin filder

    robocopy src bin *.class /MOV
  4. Commit you changes in a new branch onto git and open a pull request. Don't forget to add a clear description.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Enjoy playing Tic Tac Toe! 🎮