My-PyChess icon indicating copy to clipboard operation
My-PyChess copied to clipboard

1 port support

Open PyMaster22 opened this issue 4 years ago • 1 comments

I tried moving the server.py port to my forwarding port, but I wasn't able to connect by specifying it in the online menu.

PyMaster22 avatar Jan 09 '21 14:01 PyMaster22

Hello, My-PyChess currently uses port 26104 by default. So to change the port in the server side, you have to just update a variable in server.py And on the client side too there is a constant somewhere in the code, where you have to manually update the port. Here https://github.com/ankith26/My-PyChess/blob/ebc94a30cb91dafc8e4f3a0c3beac29ab627f5af/chess/online.py#L14

I guess for a future version, I will make it such that the port is more easily customizable for users, by means of a text box or something

ankith26 avatar Jan 09 '21 16:01 ankith26