Subleq: The Counting Game (Page 1) / TBG / Text Based Games Forums
Welcome to the TBG Forums!

You are not logged in.

## Announcement

Important: For security reasons, all BBCode on the site has been disabled. We apologize for the inconvenience.
Please see this announcement for details.

## #1 2021-Dec-30  04:48:44

gilbert_given_TBG
TBGer
From: Unforgiveness Lane
Registered: 2020-Nov-30
Posts: 15,036
Website

### Subleq: The Counting Game

Derived from an esolang also called [url=https://esolangs.org/wiki/Subleq]Subleq[/url].
[h]How to play[/h]
[list=1]
[*]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.[/*]
[/list]
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.
[h]List[/h]

``1, 2``

[h]Example[/h]
[quote]

``1, 2, 2``

n = 1 (1d2)
a = 1, b = 2, c = 2
1 - 2 = -1
LEq 0, 1d2 = 1

``-1, 2, 2, 3``

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

``-1, 0, 2, 3, 2``

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

Final list:

``-1, 0, -2, 3, 2``

[/quote]