TicTacToe - 0.1.0

CLI.TicTacToe

Description

Tic-tac-toe is a paper-and-pencil game for two players who take turns marking the spaces in a three-by-three grid with X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner. It is a solved game, with a forced draw assuming best play from both players. The module Logic.Game contains the game logic.

Definitions

prompt (state : GameState) : StringSource#

A String that prompts the user for their input

terminating run (state : GameState) : IOSource#

Main loop

welcome : StringSource#

The welcome message

main : IOSource#

The entry point of the program