Skip to content

yachty66/llmchess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLMChess

Repository Structure

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

Installation and Setup

  1. Clone the repository to your local machine:
git clone https://github.com/username/LLMChess.git
cd LLMChess
  1. 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
  1. Install the required Python packages:
pip install -r requirements.txt
  1. Run the Flask server:
python main.py
  1. Open your web browser and navigate to http://127.0.0.1:81/ to start playing the game.

How to Play

See instructions on webpage.

License

LLMChess is released under the MIT License.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published