Skip to content

aadjones/chess_walk

Repository files navigation

Chess Walk

Take a random walk through the mind of a particular rating band of Lichess player. Compare the results to a stronger player. Gain insights?

Installation

Clone the repository:

git clone https://github.com/aadjones/chess_walk.git
cd chess_walk

Set up a virtual environment:

python -m venv env
source env/bin/activate  # On Windows: env\Scripts\activate

Install dependencies:

pip install -r requirements.txt

Usage

Edit the parameters in parameters.py to taste.

Then, from the project root, run

python scripts/generate_positions.py --num_walks 3

This will take 3 walks to scrape positions. It then builds the file output/positions.csv.

Next, to visualize the results, from the project root, run

streamlit run ui/streamlit_app.py

This will build a data visualization based on the data scraped from your generate_positions.py script.

Development

To run tests, from the project root, run

pytest

License

MIT

About

Take a walk through chess moves at different rating bands

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors