Gobang/Five-in-a-row/LAN/五子棋/局域网
About
Environment:
- python3
- pygame
- thread
you can read README.md
-------------------------------------------------
English:
unzip the file
1 start Serverfind yourself LAN ip address
open server.py
edit your ip and port(can default)
self.server.bind(("192.168.1.254", 8888))
2 start Clientyou 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 Clientclick `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即可开始游戏
当一方失败后 双方按下空格 即可重新开始一局
System requirements for PC
System requirements for macOS
System requirements for Linux
Last Modified: Oct 23, 2020
Where to buy
itch.io
Gobang/Five-in-a-row/LAN/五子棋/局域网 reviews and comments
Related pages
Sniper Ghost Warrior 3, Bullet Witch, Captive (1990), Bang! Gunship Elite (2000), Ski or Die