Coder Social home page Coder Social logo

amansinghbhogal / tic-tac-toe Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11.83 MB

Tic-tac-toe is a game in which two players take turns in drawing either an ' O' or an ' X' in one square of a grid consisting of nine squares. The winner is the first player to get three squares of the same symbols in a row, column or diagonal. This C++ Code uses the MiniMax Algorithm to play as computer opponent.

Home Page: https://onlinegdb.com/TTk0kSCqO

C++ 100.00%
beginner-project cpp game informed-search mini-max-algorithm minimax-algorithm oop tic-tac-toe

tic-tac-toe's Introduction

Error 404

Tic Tac Toe

About Tic Tac Toe:

Tic-tac-toe is a game in which two players take turns in drawing either an ' O' or an ' X' in one square of a grid consisting of nine squares. The winner is the first player to get three squares of the same symbols in a row, column or diagonal. This C++ Code uses the MiniMax Algorithm to play as computer opponent.

Screen Shots:

S1 S2 S3 S4 S4 S4 S4 S4 S4 S4 S4

Steps to Run on Local Machine


Note: You need to have C++ compiler installed in your local Machine for Successfully running the code. Install MinGW

Step 1) Clone AmanSinghBhogal/Tic-Tac-Toe.
Step 2) Open Tic-Tac-Toe cloned Directory in Command Prompt and run the following command:
g++ Tic_Tac_Toe.cpp -o Tic_Tac_Toe

Step 3) Next, Run the following Command (it will execute the previously compiled file):

Tic_Tac_Toe.exe

Thank You


tic-tac-toe's People

Contributors

amansinghbhogal 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.