| Copyright | (c) Michael Szvetits 2023 |
|---|---|
| License | BSD-3-Clause (see the file LICENSE) |
| Maintainer | typedbyte@qualified.name |
| Stability | stable |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | GHC2021 |
Chess.Color
Description
Types and functions to handle the colors of a chess game.
Documentation
The colors involved in a chess game.
oppositeOf :: Color -> Color Source #
Gets the opposite color of a specified color.