LLMChess/
│
├── engine/
│ └── engine.py # Backend logic and LLM move calculation
│
├── static/
│ ├── css/
│ │ └── styles.css # Styles for the frontend
│ ├── js/
│ │ └── script.js # JavaScript for chessboard interaction
│ └── images/ # Chess piece images
│
├── templates/
│ └── index.html # Frontend HTML file
│
├── main.py # Flask server
├── requirements.txt # Python environment dependencies
└── README.md # This file
- Clone the repository to your local machine:
git clone https://github.com/username/LLMChess.git
cd LLMChess
- Set up a virtual environment and activate it:
python3 -m venv venv
source venv/bin/activate # For Unix systems
venv\Scripts\activate # For Windows systems
- Install the required Python packages:
pip install -r requirements.txt
- Run the Flask server:
python main.py
- Open your web browser and navigate to http://127.0.0.1:81/ to start playing the game.
See instructions on webpage.
LLMChess is released under the MIT License.