chessica-0.1.0.0: A Library for Chess Game Logic
Copyright(c) Michael Szvetits 2023
LicenseBSD-3-Clause (see the file LICENSE)
Maintainertypedbyte@qualified.name
Stabilitystable
Portabilityportable
Safe HaskellSafe-Inferred
LanguageGHC2021

Chess.Game.Status

Description

Types and functions to handle the status of a chess game.

Synopsis

Documentation

data Status Source #

Represents the status of a chess game.

Constructors

Win Player

Indicates that the specified player has won.

Turn Player

Indicates that the specified player is currently playing.

Draw

Indicates that the chess game has ended in a draw.