GithubHelp home page GithubHelp logo

albertanthonyarrieta / tictactoeai Goto Github PK

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

A small project from my Artificial Intelligence course in University. This is a terminal based Tic Tac Toe game that has an unbeatable AI based off the Minimax algorithm.

Java 100.00%

tictactoeai's Introduction

Tic Tac Toe AI using Minimax Algorithm A small project made for my Artificial Intelligence class. Author: Albert Arrieta

Instructions to run:

  1. Go to terminal and change directory to the /src folder
  2. Run the following line: "javac App.java"
  3. Run the following line: "java App"

Instructions to play:

  1. At the main menu, press 1 to start game.
  2. The program will display a 3x3 grid like this:

| | -+ +- | | -+ +- | |

  1. Each slot in the grid will have a corresponding number. And you will have to enter the corresponding number of the slot you would like to place your token in. 1|2|3 -+ +- 4|5|6 -+ +- 7|8|9

  2. Continue to play until the game ends.

tictactoeai's People

Contributors

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