Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clearhanhui/gobang
五子棋
https://github.com/clearhanhui/gobang
Last synced: 1 day ago
JSON representation
五子棋
- Host: GitHub
- URL: https://github.com/clearhanhui/gobang
- Owner: clearhanhui
- Created: 2019-05-06T14:50:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-06T14:53:16.000Z (over 5 years ago)
- Last Synced: 2024-07-23T19:35:21.908Z (4 months ago)
- Language: Java
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 简易的在线五子棋
---
最初使用C语言写了一个本地的两人游戏,然后移植到了Java,使用C/S模式,默认地址"localhost",端口"7777"。|命令|解释|
|---|---|
|help|打印帮助信息|
|list|列出当前在线用户|
|match n|和用户编号为n的账号匹配|
|accept|接受匹配|
|reject|拒绝匹配|
|adhere r c|在棋盘(r,c)落子|
|quit|退出游戏|以后有空添加一个UI,移植到Android,现在只能命令行交互,请尽量按照规则输入命令,项目的鲁棒性不太好。