GithubHelp home page GithubHelp logo

sarfaraz-hussain / tic-tac-toe Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 117 KB

Tic Tac Toe is a classic two-player game that has been enjoyed by people of all ages for generations. The game is played on a 3x3 grid, where each player takes turns marking a cell with their symbol (typically X or O) until one player gets three in a row, either horizontally, vertically, or diagonally.

Java 100.00%
intellij-idea java17 javafx scenebuilder tic-tac-toe

tic-tac-toe's Introduction

TIC_TAC_TOE

Tic Tac Toe is a classical game where only 2 players can play the game.

Rules of the Game

  • The game is to be played between two people.
  • One of the player chooses ‘O’ and the other ‘X’ to mark their respective cells.
  • The game starts with one of the players and the game ends when one of the players has one whole row/ column/ diagonal filled with his/her respective character (‘O’ or ‘X’).

Demo of the Game

O wins


img

X wins


image2

Match Draw


image3

Deployment

To deploy this project run

mvn clean install
java -jar target/Tic_Tac_Toe-1.0-SNAPSHOT-shaded.jar

Tech Stack

JavaFX, Java17, Maven ## Deployment

To deploy this project run

mvn clean install
java -jar target/Tic_Tac_Toe-1.0-SNAPSHOT-shaded.jar

Tech Stack

JavaFX, Java17, Maven

tic-tac-toe's People

Contributors

sarfaraz-hussain avatar

Stargazers

 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.