Skip to content

me-asri/tic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic

Tic is Tic-Tac-Toe game (surprise!) implemented in C++ with unbeatable AI based on Minimax.

Features

  • Simple GUI based on FLTK
  • Difficulty selector with 4 different difficulties:
    • Easy: Computer has %75 chance of making a random move each turn
    • Medium: Computer has %50 chance of making a random move each turn
    • Hard: Computer has %30 chance of making a random move each turn
    • Unbeatable: Computer will make no mistakes

Building

Requirements

  • GNU make
  • GNU C++ Compiler (9.1 and higher)
  • FLTK (inc. FLUID)
  • On Windows: MSYS2

Installing dependencies

Linux

Debian/Ubuntu

sudo apt install build-essential libfltk1.3-dev fluid

Compiling

Linux

make -j$(nproc)

About

Tic-Tac-Toe game with unbeatable AI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published