Clog Simulator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SoniEx2 d84c53d31e Channel operators can set hashes, fix typos. 8 months ago
src Update clog.md 9 months ago
.gitignore First commit 10 months ago
Cargo.lock First commit 10 months ago
Cargo.toml First commit 10 months ago
README.md Fix typo 10 months ago
clog.md Channel operators can set hashes, fix typos. 8 months ago

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