An open API service indexing awesome lists of open source software.

https://github.com/lullaby6/chessgpt

Python Project - Play chess vs ChatGPT!
https://github.com/lullaby6/chessgpt

chatgpt chatgpt-bot chess chess-ai gpt gpt-3 gpt-35-turbo python python-chess

Last synced: 3 months ago
JSON representation

Python Project - Play chess vs ChatGPT!

Awesome Lists containing this project

README

          

# ChessGPT
Play chess against GPT, it works using the OPEN AI api.

## Install dependencies

```sh
pip3 install -r requeriments.txt
```

## Setup

Create an ".env" file and put your OPEN AI api key and the model you want to use.

## Run

Pygame version:
```sh
python pygame_ver.py
```
![pygame](images/pygame.png)

or

ASCII version:
```sh
python ascii_ver.py
```
![ascii](images/ascii.png)