Skip to content
dyuriPublic

About

S4m3 g4m3...

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S4M3

Clear the board! Click on clusters that are bigger than 3 tiles to clear them.

TUI

Use the arrow keys to move the cursor, press space to clear. (Quit: q)

Keys:

  • arrow keys - move cursor
  • q / ctrl+c - quit
  • space - clear cluster
  • r / R - restart (same seed / new random seed)

Web API

You can configure the game to listen on a port (specified in config.yaml, which is created at first run if does not exist), and use a web API to play the game.

Default API / WebSocket port is 2345.

Get the board

Issue a simple HTTP GET:

GET /api/board

Clear a cluster

Post the coordinates to clear (as JSON):

POST /api/board

{x: 1, y: 2, restart: false, new: false}

About

S4m3 g4m3...

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址