wowthecoder / Haskell_tictactoe

A command-line tictactoe game with both multiplayer and singleplayer mode available

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Haskell_tictactoe

A command-line tictactoe game with both multiplayer and singleplayer mode available.
The player can choose an NxN board for multiplayer mode, but only 3x3 for singleplayer.
For singleplayer mode, player will play against an unbeatable AI that is implemented using the Minimax algorithm.

Prerequisites

You need to install ghcup and cabal on your computer before running the game.

How to run

Clone the project, and type cabal run game in a terminal to run the game.

Snapshot

image

About

A command-line tictactoe game with both multiplayer and singleplayer mode available


Languages

Language:Haskell 100.0%