Giter Club home page Giter Club logo

tic_tac_toe's Introduction

Tic_Tac_Toe

How to run the game:

  1. Extract the zip file containing all the Java files to a specified location.
  2. Please start the terminal (Mac) or command prompt (Windows).
  3. Go to the specified location where all the .java files are located.
  4. In the command terminal, type "javac *.java".
  5. After doing the specified task in 4, type "java Server" in the Command terminal.
  6. Open two new command prompts. The two command prompts serve as two separate players.
  7. In each of the two command prompts, go to the specified location where all the .java files are located and type "java Main" in the command terminal.
  8. Play the game

Simplified Instructions in command prompt:

  1. cd *location where .java files located*
  2. javac *.java
  3. java Server
  4. Open new Command prompt
  5. cd *location where .java files located*
  6. java Main
  7. Open new Command prompt
  8. cd *location where .java files located*
  9. java Main
  10. Play the game

IMPORTANT :

  • Please keep O.png and X.png file in the same location as the .java files if you are using command prompt. It is crucial for the correct GUI implementation of the game.
  • Please keep O.png and X.png file in the root directory folder if you are running it with IntelliJ. It is crucial for the correct GUI implementation of the game. Make sure to turn on "Allow parallel run" for the Main class. You can do this by going to Run>Edit Configurations>Allow parallel run.

tic_tac_toe's People

Contributors

mesbaulalam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.