Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.
/ gomoku Public archive

A simple gomoku, supports LAN multiplayer.

License

Notifications You must be signed in to change notification settings

ShenMian/gomoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gomoku

CodeFactor

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