Skip to content

arf1e/ssh-knucklebones

Repository files navigation

ssh knucklebones

tests deploy

game-overview

Table of contents

Original game idea

Originally, Knucklebones is a mini-game from Cult of the Lamb by Massive Monster

Playing the game

ssh knucklebones.egorushque.com

Game rules

1. makin moves

in knucklebones, players take turns rolling dice and placing it in either one of three columns on their field.

2. makin moves the smart way

2.1. combos

combos

if your column already has a piece of the same value, each piece adds its value multiplied by the amount of the same dice in the column to your score. so, two 6 pieces would give you 6*2 + 6*2 = 24 points.

2.2. evicting opponent's dice

evicting-dice

if your opponent has pieces of the same value in the same column, their pieces are removed from the column.

3. winning and losing

game session ends when one of the players has filled all their columns. player with the highest score wins.

Running the thing locally

  1. Install project dependencies with npm install;
  2. Generate a keypair for the SSH server with make generate-ssh-keypair;
  3. Start the app in dev mode with npm run dev.

These commands will start the SSH server and serve the app over it. By default, the SSH server runs on port 2222. You can change the port by setting the SERVER_PORT environment variable in your .env file.

Running tests

Run npm run test or make test to run the tests.

About

SSH multiplayer game of risk and reward

Resources

Stars

Watchers

Forks

Contributors