Sushi Conveyor

From Esolang
Jump to navigation Jump to search

Sushi Conveyor is 2-dimensional language based on the conveyor belt sushi restaurants. It's created by User:Evylah after getting the idea when vising Japan.

This is still a work in progress. It may be changed in the future.

Overview

Sushi Conveyor code contains a few (replace with actual number) components. Those are

  • the actual conveyor
  • seats (X)
  • sushi (that goes around)
  • online ordering (for user input)
    • computer (to actually use the input)

Each component does a different thing.

The conveyor

This is where all the sushi has to be transported. It is marked with the characters >, ^, < and v. These four characters represent the direction of the conveyor. The number of conveyors isn't limited to just one. There are also more characters that can change the direction based on a condition.

Seats

When a sushi reaches a seat, it will be eaten and its value will be outputted to the console. Outputting can also be done by a direct string.

Online ordering

When the "check online for orders" command is run (i), the program will request a number from the user. Then, any computers with conveyors connected to it will spawn a sushi. If multiple sides are connected, it will send it to all sides.

Instructions

Conveyor belt

Conveyors cannot cross, although sushi can be launched one space or however many spaces as its value to get over an overlapping belt.

Character Description
> ^ < v Change the direction of where the sushi is moving.