Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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