Home About Play Contact Wiki Support Chat

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

You are not logged in.


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

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

Subleq: The Counting Game

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

1, 2


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


BBCode module not found. Falling back to text mode.
Some of my esolangs I made: [post=597646]redirected here[/post]
Stuff I made: Smiley Code Decoder Word Shuffler List nBASIC PseudoSmiley Pybolge Unshrekton OLLY in Wenyan ESC JSC TPSC Programmable Text Generator Why? Flerovium HTML to BBcode Another BMP codec Unicode Adventures TBG Extensions tbgclient Two Of Them
Links: My sig editor DWiki esolangs.org TIO Scratch alt Ocular wasteof Collection of BMP endecs The Sandbox
Lists: BMP codecs Nonsense programs Gilbert's Random and Pointless Topics


Board footer

Powered by FluxBB