All Projects → markphelps → tictac

markphelps / tictac

Licence: MIT License
Un-winnable game of Tic Tac Toe using MinMax

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to tictac

discord-tictactoe
Highly customizable innovative Discord Bot for playing Tic-Tac-Toe 🎮🏅
Stars: ✭ 84 (+460%)
Mutual labels:  tic-tac-toe
checkers
A game of checkers written using minmax algorithm and alpha-beta pruning.
Stars: ✭ 19 (+26.67%)
Mutual labels:  minmax
tictactoe-ai-tfjs
Train your own TensorFlow.js Tic Tac Toe
Stars: ✭ 45 (+200%)
Mutual labels:  tic-tac-toe
alphazero
Board Game Reinforcement Learning using AlphaZero method. including Makhos (Thai Checkers), Reversi, Connect Four, Tic-tac-toe game rules
Stars: ✭ 24 (+60%)
Mutual labels:  tic-tac-toe
HexBot
A Relatively Simply Awesome Discord bot with Music, Games, Comics, Memes and other cool features. This bot is made in Python 3.8 using discord.py
Stars: ✭ 109 (+626.67%)
Mutual labels:  tic-tac-toe
ultimate-tictactoe
An implementation of ultimate tictactoe in Elm
Stars: ✭ 15 (+0%)
Mutual labels:  tic-tac-toe
AndTTT
🎲 Simple tic tac toe game for Android
Stars: ✭ 15 (+0%)
Mutual labels:  tic-tac-toe
tic-tac-toe
Tic Tac Toe game implementation in Elm
Stars: ✭ 21 (+40%)
Mutual labels:  tic-tac-toe
FITTER
Fortran tIc Toc Timer
Stars: ✭ 14 (-6.67%)
Mutual labels:  tic-tac-toe
TicTacToe-SwiftUI
Unidirectional data flow tic-tac-toe sample with SwiftUI.
Stars: ✭ 22 (+46.67%)
Mutual labels:  tic-tac-toe
ttt-tdd
Book about test-driven development with an example of making “Tic-Tac-Toe” by TDD · ❌ ⭕️ 🧪
Stars: ✭ 29 (+93.33%)
Mutual labels:  tic-tac-toe
tictacNET
Solving Tic-Tac-Toe with Neural Networks.
Stars: ✭ 17 (+13.33%)
Mutual labels:  tic-tac-toe
othello-prolog
📜 A fully functional Othello (Reversi) game, with several AIs, made in prolog for swipl.
Stars: ✭ 12 (-20%)
Mutual labels:  minmax
tic-tac-toe-react
A simple React app that lets you play Tic-Tac-Toe in your browser
Stars: ✭ 20 (+33.33%)
Mutual labels:  tic-tac-toe
boardgame
An online board game playground. Including lobby, chat
Stars: ✭ 11 (-26.67%)
Mutual labels:  tic-tac-toe
tic-tac-toe
Play tic-tac-toe in your Terminal
Stars: ✭ 42 (+180%)
Mutual labels:  tic-tac-toe
tic-tac-toe-js
No description or website provided.
Stars: ✭ 20 (+33.33%)
Mutual labels:  tic-tac-toe
ultimate-ttt-rl
Reinforcement Learning based Ultimate Tic Tac Toe player
Stars: ✭ 20 (+33.33%)
Mutual labels:  tic-tac-toe
AnimalChess
Animal Fight Chess Game(斗兽棋) written in rust.
Stars: ✭ 76 (+406.67%)
Mutual labels:  minmax
TicTacToeUI-Android
Check out the new style for App Design aims for Tic Tac Toe Game...😉😀😁😎
Stars: ✭ 40 (+166.67%)
Mutual labels:  tic-tac-toe

Tictac

An un-winnable game of Tic Tac Toe. The AI will always win or tie.

AI uses the MinMax algorithm.

        ___________ .__        __
        \__    ___/ |__| _____/  |______    ____
           |    |   |  |/ ___\   __\__  \ _/ ___\
           |    |   |  \  \___|  |  / __ \  \___
           |____|   |__|\___  >__| (____  /\___  >
                            \/          \/     \/
Lets play Tic Tac Toe!

Enter the coordinates for where you want to move
Ex: '0' would move you to the 1st column, 1st row

Press 'q' to Quit

 0 | 1 | 2
-----------
 3 | 4 | 5
-----------
 6 | 7 | 8

Player X's turn
Where to move? :

Codeship Status for markphelps/tictac

$ git clone https://github.com/markphelps/tictac.git

Running

Docker

Build the image:

$ docker build -t tictac .

Run interactively:

$ docker run -it tictac

Local

Install dependencies:

$ bundle install

Build and install the gem:

$ bundle exec rake install

The gem will install the 'tictac' binary.

Just run:

$ tictac

Tests

$ rake test

# Running:

.......................

Fabulous run in 0.005212s, 4412.8933 runs/s, 10360.7061 assertions/s.

23 runs, 54 assertions, 0 failures, 0 errors, 0 skips

Contributing

  1. Fork it ( https://github.com/markphelps/tictac/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].