Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shenmian/gomoku
A simple gomoku, supports LAN multiplayer.
https://github.com/shenmian/gomoku
gomoku sfml wuziqi
Last synced: 17 days ago
JSON representation
A simple gomoku, supports LAN multiplayer.
- Host: GitHub
- URL: https://github.com/shenmian/gomoku
- Owner: ShenMian
- License: apache-2.0
- Created: 2023-03-25T09:53:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-09T00:49:54.000Z (25 days ago)
- Last Synced: 2024-12-13T20:52:25.513Z (21 days ago)
- Topics: gomoku, sfml, wuziqi
- Language: C++
- Homepage:
- Size: 83 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gomoku
[![CodeFactor](https://www.codefactor.io/repository/github/shenmian/gomoku/badge)](https://www.codefactor.io/repository/github/shenmian/gomoku)
A simple gomoku, using [SFML] framework, supports mouse/keyboard and controller input, and offers both offline and LAN multiplayer modes.
## Rules
The rules are **free-style** and there are no forbidden moves. Players can decide the order of play in each round.
## Modes
- **Online**: One player serves as the host while the other joins as a client, allowing games to be played over a local network.
- **Offline**: Two players take turns playing the game locally.## Keymap
### Keyboard
| Key | Action |
| ------------------------------------------ | --------------- |
| `Space` | Place piece |
| `Backspace` | Undo |
| `W`/`A`/`S`/`D`/`Up`/`Down`/`Left`/`Right` | Move the cursor |### Controller
| Key | Action |
| ------------ | --------------- |
| `A`/`Cross` | Place piece |
| `B`/`Circle` | Undo |
| D-pad | Move the cursor |[SFML]: https://github.com/SFML/SFML