kevintonb.

← All contributions

kevintonb

40min_chess_app

A chess game built with ChatGPT in under 40 minutes.

A Flutter-based chess game for macOS, featuring two-player mode, piece movement rules, a scoreboard, and a timer for each player.

Features

  • Two-player mode
  • Piece movement according to chess rules
  • Turn-based gameplay
  • Scoreboard showing captured pieces
  • Countdown timer for each player

Screenshots

Screenshot1

Installation

  1. Clone the repository:

    git clone https://github.com/kevintonb/flutter-chess-game.git
    cd flutter-chess-game
  2. Install dependencies:

    flutter pub get
  3. Run the application:

    flutter run -d macos

Usage

  1. Enter Player Names:

    When you start the application, you will be prompted to enter the names of the white and black players.

  2. Play the Game:

    The chessboard will be displayed with the initial positions of the pieces. Players take turns to move their pieces according to standard chess rules. The timer counts down each player’s remaining time.

  3. View Scoreboard:

    The scoreboard at the bottom shows the captured pieces for each player.

This page mirrors the repository's own README, with GitHub's boilerplate and its contributor-facing sections removed. Read it at the source ↗