Gobang/Five-in-a-row/LAN/五子棋/局域网
A downloadable Gobang/Five row/LAN for Windows, macOS, and Linux
Environment:
- python3
- pygame
- thread
you can read README.md
-------------------------------------------------
English:
unzip the file
1 start Server
find yourself LAN ip address
<font face="Lato, sans-serif">open </font>server.py
edit your ip and port(can default)
self.server.bind(("192.168.1.254", 8888))
2 start Client
you need to connet a LAN with Server
open Client.py
修改当中的ip和port为Server的地址和端口
edit Server ip and port
self.client.connect(("192.168.1.254", 8888))
3 first run Server and then run Client
click `space` can satrt next game (when some people win)
---------------------------------------------------------------------------
Chinese:
解压后
1 启动Server
确定自己的局域网IP地址
打开server.py
修改当中的ip
和port
为自己本机的IP 地址可以默认
self.server.bind(("192.168.1.254", 8888))
2 启动 Client
你需要和Server在一个服务器下
打开Client.py
修改当中的ip和port为Server的地址和端口
self.client.connect(("192.168.1.254", 8888))
3 首先运行Server 再运行Client
即可开始游戏
当一方失败后 双方按下空格 即可重新开始一局
Download
Install instructions
- python3
- pygame
- thread
you can read README.md
------------------------------------------------
English:
unzip the file
1 start Server
find yourself LAN ip address
<font face="Lato, sans-serif">open </font>server.py
edit your ip and port(can default)
self.server.bind(("192.168.1.254", 8888))
2 start Client
you need to connet a LAN with Server
open Client.py
修改当中的ip和port为Server的地址和端口
edit Server ip and port
self.client.connect(("192.168.1.254", 8888))
3 first run Server and then run Client
click `space` can satrt next game (when some people win)
-------------------------------
Chinese:
解压后
1 启动Server
确定自己的局域网IP地址
打开server.py
修改当中的ip
和port
为自己本机的IP 地址可以默认
self.server.bind(("192.168.1.254", 8888))
2 启动 Client
你需要和Server在一个服务器下
打开Client.py
修改当中的ip和port为Server的地址和端口
self.client.connect(("192.168.1.254", 8888))
3 首先运行Server 再运行Client
即可开始游戏
当一方失败后 双方按下空格 即可重新开始一局
Leave a comment
Log in with itch.io to leave a comment.