Coder Social home page Coder Social logo

anwarul-azim / smart-tictactoe Goto Github PK

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

Command line tic tac toe with 3 difficulty modes. You can play with computer or another friend or even simulate a match where AI is in both sides.

Java 100.00%
min-max-algorithm oop random-number-generators

smart-tictactoe's Introduction

Smart-TicTacToe

Command line tic tac toe with 3 difficulty modes. You can play with computer or another friend or even simulate a match where AI is in both sides.

To begin, write the command as follows

start <player_X> <player_O>

Here choose player_X and player_O using any of these keywords easy, medium, hard, or user

Example

Enter start user hard to play with computer in hard mode where you place the move first (X).

Enter start medium hard to simulate a game where computer plays both side with varying skill. Second player (o) is superior.

To provide the coOrdinate for your move just enter the row and column name seperated by a space.

Example

1 1is for the cell in first row first column and 3 3is for the cell in last row last column

Enter exit to terminate the game after a whole round is finished.

smart-tictactoe's People

Contributors

anwarul-azim 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.