Skip to content

Online Blockus Duo game in terminal user interface.

Notifications You must be signed in to change notification settings

yuyuranium/blokus-duo-tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blokus-duo-cli

Online Blockus Duo game in command line interface.

image

Installation

Latest prebuilt version could be find here

Manual buid

  1. Install ncurses library
    sudo apt update
    sudo apt install libncurses5-dev libncursesw5-dev
  2. Build
    make
    The binaries will be placed under build directory.

Usage

  1. Start server first
    ./server -p [port]
  2. Client connect to server
    ./client -i [server ip] -p [port]
    Whenever two clients connected to the server, the match will be started.

How to play?

  • Rule of Blokus Duo
  • Use h, j, k, l or <up>, <down>, <left>, <right> to navigate. Including tile selection and placement.
  • Press <space> to select tile you want to use.
  • Navigate to the position that you want to place the tile.
    • Press q to reselect the tile.
    • Press r to rotate the selected tile.
    • Press m to mirror the selected tile.
    • Press c to see opponent's remaining tiles.
    • Press <space> to choose the position.
  • Press y, <enter> to confirm placement. Press n to cancel placement.
  • The match will be continued until no tile could be placed onto the board.
    • Press 'h' to get a hint if you don't know which tile you can use.