Clog Simulator
Go to file
SoniEx2 7c9df6ff95 Fix typo 2018-11-10 01:24:03 -02:00
src First commit 2018-11-10 01:22:45 -02:00
.gitignore First commit 2018-11-10 01:22:45 -02:00
Cargo.lock First commit 2018-11-10 01:22:45 -02:00
Cargo.toml First commit 2018-11-10 01:22:45 -02:00
README.md Fix typo 2018-11-10 01:24:03 -02:00
clog.md First commit 2018-11-10 01:22:45 -02:00

README.md

This is a simple CLI-based "game" that simulates the clog idea. See clog.md.

The game has in-game help, just type "help".

The game has the following commands:

  • help

    shows help text

  • status

    displays the status of all servers in the game

    this displays the server name, the hashes the server knows of, and the pending messages the server hasn't seen yet

  • status <server>

    displays the status of a specific server

  • new <server>

    creates a new server with the specified name

  • kill <server>

    removes the server with the specified name

  • send <server> <message>

    simulates a client sending a message to the specified server

  • recv <server-from> <server-to>

    simulates a server (server-to) receiving a message from another server (server-from)

    the message must have been previously sent with send <server-from> <message>

  • quit

    quits the game