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.

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,037
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]


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
https://internetometer.com/image/48329.png
https://tbgsandbox.createaforum.com/tbgs/super-go-outside-(2023-2033)/msg106/
[avatar=https://cdn.discordapp.com/attachments/729632652063145986/1067042906977865749/Titelloses_198_20230123182716.png]

Online

Board footer

Powered by FluxBB