Git Product home page Git Product logo

tictactoe-minimax-processing's Introduction

TicTacToe Game

License: MIT

Creating TicTacToe game using processing, and implementing MinMax Algorithm on it.

About

The game conatins the ability to play with your friend or play with PC, i implement MinMax Algorithm on PC mode which make winning the game against PC impossible

Technology used

  • Processing Version 3.

Installation

  • Download Processing 3 here then extract the zip file.
  • Download the repository project from the download section or clone this project by typing in the bash the following command:
    git clone https://github.com/othmane099/tictactoe-minimax-processing.git
  • Open main.pde file.
  • Run the application.

How to play

  1. After running the app, you'll have this screen.

First Screen

You can play with your friend by choosing 2P or play with the PC by choosing PC.

  1. Then chose X or O.

First Screen

  1. You have the ability to start first or second when you play against PC.

First Screen

  1. Start playing and have a good game.

First Screen

NOTE: dont waste your time trying to win vs PC becasuse you won't.

Contributing

If you want to contribute to this project and make it better with new ideas, your pull request is very welcomed. If you find any issue just put it in the repository issue section, thank you.

tictactoe-minimax-processing's People

Contributors

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