News:

The moderation team is holding a poll on the topic of the site's connection to Scratch. More details can be found here. Your feedback is appreciated.

Main Menu

Subleq: The Counting Game

Started by gilbert_given_TBG, Dec 30, 2021, 04:48:44 AM

Previous topic - Next topic

gilbert_given_TBG

Derived from an esolang also called Subleq.
How to play
  • Roll a 1d#, where # is the size of the list. Call that roll n.
  • Pick the n-th number on the list and two numbers after it. Call those numbers a, b and c, respectively.
  • Get the a-th number and the b-th number and subtract the result. Call the result x.
  • Set the a-th number to x (or the b-th number if a <= 0)
  • If x is less or equal to 0, roll a 1d2. If you roll a 1, do step 2 through 5 again, but pick the c-th number instead.
If a number isn't on the list, roll a 1dN, where N is the order number, and use the roll as the number. You may add them to the list.
The 0th number or numbers with a negative index should be interpreted as 0.
List
1, 2Example
1, 2, 2n = 1 (1d2)
a = 1, b = 2, c = 2
1 - 2 = -1
LEq 0, 1d2 = 1

-1, 2, 2, 34rd number: 2 (1d1)
n = 2
a = 2, b = 2, c = 3
2 - 2 = 0
LEq 0, 1d2 = 1

-1, 0, 2, 3, 25th number: 2 (1d5)
a = 0, b = 3, c = 2
0 - 2 = -2
LEq 0, 1d2 = 2

Final list:
-1, 0, -2, 3, 2