A web-based chess game with a colorful rainbow-cycling background.
Rainbow Chess (also known as Skittles Chess Game) is a two-player chess game built with Python and Flask. It features a fully functional chess board with move validation, pawn promotion, and an undo feature that allows players to revert up to 10 moves. The game showcases a visually appealing interface with a rainbow color-cycling background effect.
- Interactive chess board with Unicode chess piece symbols
- Move validation for all chess pieces (King, Queen, Rook, Bishop, Knight, Pawn)
- Pawn promotion to Queen, Rook, Bishop, or Knight
- Undo functionality with a circular stack that stores up to 10 moves
- Rainbow color-cycling background animation
- Responsive web interface
- Python 3.8
- Flask (web framework)
- Jinja2 (templating engine)
- HTML/CSS/JavaScript
- Gunicorn (WSGI HTTP Server)
# Clone the repository
git clone https://github.com/bryanseah234/rainbowchess.git
# Navigate to project directory
cd rainbowchess
# Install dependencies
pip install -r requirements.txt# Run the application
python main.pyThe game will start on http://localhost:5000. Open your browser and navigate to this address to play.
- Click "START" to begin a new game
- Enter moves in the format
XY XY(e.g.,01 03to move a piece from column 0, row 1 to column 0, row 3) - Coordinates are 0-7 for both columns and rows
- Use the "UNDO" button to revert moves if needed
The game was originally hosted at: http://skittles-chessapp.herokuapp.com/
- FOR EDUCATIONAL PURPOSES ONLY
- USE AT YOUR OWN DISCRETION
MIT License
Author: bryanseah234