marcusbuffett / command-line-chess

A python program to play chess against an AI in the terminal.
MIT License
500 stars 162 forks source link

Unable to run on Replit #30

Closed ArjunSharda closed 2 years ago

ArjunSharda commented 2 years ago

It seems that I can't run on Replit. image

It seems correctly configured with replit aswell.

ClasherKasten commented 2 years ago

You shouldn't run src/main.py directly. This repository provides a console_scripts entry point, please navigate into the root directory and install the repository through pip install ., then run the chess command as you can see in the image below. replit_command-line-chess

If you wanna know more about why you shouldn't run scripts that are inside subdirectories, here is a video which i think explains it very well.

Edit: i looked a bit more into it and noticed that this is the behaviour forced by .replit I will change this in the next days, or feel free to open a PR.