Go to file

Go Chess

Go License

Go Chess

A command-line chess application written in Go.

Features

  • Command-line interface for gameplay.
  • Uses an stockfish external chess engine for move validation and computer play.
  • Supports player vs. player, player vs. computer, and computer vs. computer modes.
  • Start a new game from the standard starting position.
  • Resume a game from a FEN (Forsyth-Edwards Notation) string.
  • Move history display.
  • Move undo functionality.

System Requirements

  • Go Version: 1.24+ (for building from source)
  • Engine: Requires the Stockfish chess engine to be installed. The stockfish executable must be available in the system's PATH.

Quick Start

To build and run the application:

# Build the executable
go build ./cmd/chess

# Run the application
./chess

Inside the application, type help to see available commands.

License

BSD 3-Clause License

Description
No description provided
Readme BSD-3-Clause 634 KiB
Languages
Go 56.3%
Shell 19.4%
JavaScript 15.1%
CSS 5.6%
Makefile 2%
Other 1.6%