reversi-ai
reversi-ai copied to clipboard
Control-D error
When I am trying to exit game with combination of Control and D keys, Game will not close. Something must be wrong with your Inputs.
I suggest looking at the variables. Must be something wrong with python interpreter
Hi,
It looks like input()
throws an EOFError
when processing Ctrl+D
as input, just eyeballing the code after 4 years I think this is the culprit.
There is an edit that can be done to the https://github.com/Zolomon/reversi-ai/blob/master/game/controllers.py#L28-L67 class.
If you'd like, you can try to do the necessary change yourself and send a PR, or wait for me to do it myself.
If you have any questions I'd be glad to try to answer them.
Cheers!
thanks! I will try to find a way around that roadblock. I definitely like your project very much and I could help with it in any way you'd like.