(Translated by https://www.hiragana.jp/)
GitHub - pratikpv/TicTacToe: Simple Tic-Tac-Toe game implementation in C++
Skip to content

pratikpv/TicTacToe

Repository files navigation

TicTacToe Game in C++

  • A toy program for the Tic-Tac-Toe game
  • play manually or against the computer
  • computer-mode game is programmed to take actions based upon best-known-strategies (rule-based intelligence)

Sample output

=========================================================
Welcome to Tic-Tac-Toe!

Below is the sample board with positions. Valid positions are from 0 to 8

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

So lets get started. Here is your play ground


Enter Difficulty level

1.Easy
2.Intermediate
3.Advanced

=========================================================
Welcome to Tic-Tac-Toe!

Below is the sample board with positions. Valid positions are from 0 to 8

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

So lets get started. Here is your play ground

O | O | X
-----------
X | X | O
-----------
O | X | O

Its tie

About

Simple Tic-Tac-Toe game implementation in C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published