Skip to content

Instantly share code, notes, and snippets.

@GameDevGitHub
Created April 9, 2024 09:43
Show Gist options
  • Save GameDevGitHub/bd7143a94802537cc6c200f6ddb4115d to your computer and use it in GitHub Desktop.
Save GameDevGitHub/bd7143a94802537cc6c200f6ddb4115d to your computer and use it in GitHub Desktop.
Assistant is in a Careful and Predictable Step by Step Instruction Template Format Following MODE Today.
You will be solving a string replacement logical puzzle where you apply transformations to a List of Tokens to get New List of Tokens until the Rules no longer creates a New Unique List.
TERMS
OLD Token
NEW Token
OLD Token → NEW Token
Previous NEW Token -> OLD Token
# Rules:
RULE:A# #A →
RULE:A# #B → #B A#
RULE:B# #A → #A B#
RULE:B# #B →
EVERYTHING ELSE NORMAL RULE:ELEMENT1 ELEMENT2 → ELEMENT1
RULE:#A #A → #A
RULE:#A A# → #A
RULE:#A B# → #A
RULE:#A #B → #A
RULE:A# A# → A#
RULE:A# B# → A#
RULE:B# A# → B#
RULE:B# B# → B#
RULE:#B #A → #B
RULE:#B A# → #B
RULE:#B B# → #B
RULE:#B #B → #B
RULE:#B → #B
RULE:#A → #A
RULE:A# → A#
RULE:A# → A#
# Terms
OLD Tokens → NEW Tokens
# Pass 1
Previous OLD Tokens → Previous NEW Tokens
// Previous NEW Tokens → OLD Tokens
# Pass 2
OLD Tokens → NEW Tokens
# Guidelines
- Carefully COUNT and TRACK Tokens by their INDEX.
- When you write the OLD Tokens make sure to Carefully READ the EXACT Previous NEW Tokens Including it's Index and REPEAT the Token EXACTLY.
- Your Response MUST Match the Patterns found in the EXAMPLES EXACTLY
<EXAMPLE 1>
<problem>A# A# A# A# A# #B A# #B #B #B #A A#</problem>
# COUNT TOKENS
1A# 2A# 3A# 4A# 5A# 6#B 7A# 8#B 9#B 10#B 11#A 12A#
# Pass 1
1A# 2A# → 1A#
2A# 3A# → 2A#
3A# 4A# → 3A#
4A# 5A# → 4A#
5A# 6#B → 5#B 6A#
7A# 8#B → 7#B 8A#
9#B 10#B → 9#B
10#B 11#A → 10#B
11#A 12A# → 11#A
12A# → 12A#
13 overflow
# used special rule Yes
# Pass 2
1A# 2A# → 1A#
2A# 3A# → 2A#
3A# 4A# → 3A#
4A# 5#B → 4#B 5A#
6A# 7#B → 6#B 7A#
8A# 9#B → 8#B 9A#
10#B 11#A → 10#B
11#A 12A# → 11#A
12A# → 12A#
13 overflow
# used special rule Yes
# Pass 3
1A# 2A# → 1A#
2A# 3A# → 2A#
3A# 4#B → 3#B 4A#
5A# 6#B → 5#B 6A#
7A# 8#B → 7#B 8A#
9A# 10#B → 9#B 10A#
11#A 12A# → 11#A
12A# → 12A#
13 overflow
# used special rule Yes
# Pass 4
1A# 2A# → 1A#
2A# 3#B → 2#B 3A#
4A# 5#B → 4#B 5A#
6A# 7#B → 6#B 7A#
8A# 9#B → 8#B 9A#
10A# 11#A →
12A# → 10A#
13 overflow
# used special rule Yes
# Pass 5
1A# 2#B → 1#B 2A#
3A# 4#B → 3#B 4A#
5A# 6#B → 5#B 6A#
7A# 8#B → 7#B 8A#
9A# 10A# → 9A#
10A# → 10A#
11 overflow
# used special rule Yes
# Pass 6
1#B 2A# → 1#B
2A# 3#B → 2#B 3A#
4A# 5#B → 4#B 5A#
6A# 7#B → 6#B 7A#
8A# 9A# → 8A#
9A# 10A# → 9A#
10A# → 10A#
11 overflow
# used special rule Yes
# Pass 7
1#B 2#B → 1#B
2#B 3A# → 2#B
3A# 4#B → 3#B 4A#
5A# 6#B → 5#B 6A#
7A# 8A# → 7A#
8A# 9A# → 8A#
9A# 10A# → 9A#
10A# → 10A#
11 overflow
# used special rule Yes
# Pass 8
1#B 2#B → 1#B
2#B 3#B → 2#B
3#B 4A# → 3#B
4A# 5#B → 4#B 5A#
6A# 7A# → 6A#
7A# 8A# → 7A#
8A# 9A# → 8A#
9A# 10A# → 9A#
10A# → 10A#
11 overflow
# used special rule Yes
# Pass 9
1#B 2#B → 1#B
2#B 3#B → 2#B
3#B 4#B → 3#B
4#B 5A# → 4#B
5A# 6A# → 5A#
6A# 7A# → 6A#
7A# 8A# → 7A#
8A# 9A# → 8A#
9A# 10A# → 9A#
10A# → 10A#
11 overflow
# used special rule No
<solution>#B #B #B #B A# A# A# A# A# A#</solution>
</EXAMPLE 1>
<EXAMPLE 2>
<problem>#A B# #B #B #B #A A# B# #B A# #A #B</problem>
# COUNT TOKENS
1#A 2B# 3#B 4#B 5#B 6#A 7A# 8B# 9#B 10A# 11#A 12#B
# Pass 1
1#A 2B# → 1#A
2B# 3#B →
4#B 5#B → 2#B
5#B 6#A → 3#B
6#A 7A# → 4#A
7A# 8B# → 5A#
8B# 9#B →
10A# 11#A →
12#B → 6#B
13 overflow
# used special rule Yes
# Pass 2
1#A 2#B → 1#A
2#B 3#B → 2#B
3#B 4#A → 3#B
4#A 5A# → 4#A
5A# 6#B → 5#B 6A#
7 overflow
# used special rule Yes
# Pass 3
1#A 2#B → 1#A
2#B 3#B → 2#B
3#B 4#A → 3#B
4#A 5#B → 4#A
5#B 6A# → 5#B
6A# → 6A#
7 overflow
# used special rule No
<solution>#A #B #B #A #B A#</solution>
</EXAMPLE 2>
<EXAMPLE 3>
<problem>A# B# B# #A B# B# B# #A #A B# B# #B</problem>
# COUNT TOKENS
1A# 2B# 3B# 4#A 5B# 6B# 7B# 8#A 9#A 10B# 11B# 12#B
# Pass 1
1A# 2B# → 1A#
2B# 3B# → 2B#
3B# 4#A → 3#A 4B#
5B# 6B# → 5B#
6B# 7B# → 6B#
7B# 8#A → 7#A 8B#
9#A 10B# → 9#A
10B# 11B# → 10B#
11B# 12#B →
13 overflow
# used special rule Yes
# Pass 2
1A# 2B# → 1A#
2B# 3#A → 2#A 3B#
4B# 5B# → 4B#
5B# 6B# → 5B#
6B# 7#A → 6#A 7B#
8B# 9#A → 8#A 9B#
10B# → 10B#
11 overflow
# used special rule Yes
# Pass 3
1A# 2#A →
3B# 4B# → 1B#
4B# 5B# → 2B#
5B# 6#A → 3#A 4B#
7B# 8#A → 5#A 6B#
9B# 10B# → 7B#
10B# → 8B#
11 overflow
# used special rule Yes
# Pass 4
1B# 2B# → 1B#
2B# 3#A → 2#A 3B#
4B# 5#A → 4#A 5B#
6B# 7B# → 6B#
7B# 8B# → 7B#
8B# → 8B#
9 overflow
# used special rule Yes
# Pass 5
1B# 2#A → 1#A 2B#
3B# 4#A → 3#A 4B#
5B# 6B# → 5B#
6B# 7B# → 6B#
7B# 8B# → 7B#
8B# → 8B#
9 overflow
# used special rule Yes
# Pass 6
1#A 2B# → 1#A
2B# 3#A → 2#A 3B#
4B# 5B# → 4B#
5B# 6B# → 5B#
6B# 7B# → 6B#
7B# 8B# → 7B#
8B# → 8B#
9 overflow
# used special rule Yes
# Pass 7
1#A 2#A → 1#A
2#A 3B# → 2#A
3B# 4B# → 3B#
4B# 5B# → 4B#
5B# 6B# → 5B#
6B# 7B# → 6B#
7B# 8B# → 7B#
8B# → 8B#
9 overflow
# used special rule No
<solution>#A #A B# B# B# B# B# B#</solution>
</EXAMPLE 3>
<EXAMPLE 4>
<problem>B# B# B# #A B# #A #A B# #A A# B# #B</problem>
# COUNT TOKENS
1B# 2B# 3B# 4#A 5B# 6#A 7#A 8B# 9#A 10A# 11B# 12#B
# Pass 1
1B# 2B# → 1B#
2B# 3B# → 2B#
3B# 4#A → 3#A 4B#
5B# 6#A → 5#A 6B#
7#A 8B# → 7#A
8B# 9#A → 8#A 9B#
10A# 11B# → 10A#
11B# 12#B →
13 overflow
# used special rule Yes
# Pass 2
1B# 2B# → 1B#
2B# 3#A → 2#A 3B#
4B# 5#A → 4#A 5B#
6B# 7#A → 6#A 7B#
8#A 9B# → 8#A
9B# 10A# → 9B#
10A# → 10A#
11 overflow
# used special rule Yes
# Pass 3
1B# 2#A → 1#A 2B#
3B# 4#A → 3#A 4B#
5B# 6#A → 5#A 6B#
7B# 8#A → 7#A 8B#
9B# 10A# → 9B#
10A# → 10A#
11 overflow
# used special rule Yes
# Pass 4
1#A 2B# → 1#A
2B# 3#A → 2#A 3B#
4B# 5#A → 4#A 5B#
6B# 7#A → 6#A 7B#
8B# 9B# → 8B#
9B# 10A# → 9B#
10A# → 10A#
11 overflow
# used special rule Yes
# Pass 5
1#A 2#A → 1#A
2#A 3B# → 2#A
3B# 4#A → 3#A 4B#
5B# 6#A → 5#A 6B#
7B# 8B# → 7B#
8B# 9B# → 8B#
9B# 10A# → 9B#
10A# → 10A#
11 overflow
# used special rule Yes
# Pass 6
1#A 2#A → 1#A
2#A 3#A → 2#A
3#A 4B# → 3#A
4B# 5#A → 4#A 5B#
6B# 7B# → 6B#
7B# 8B# → 7B#
8B# 9B# → 8B#
9B# 10A# → 9B#
10A# → 10A#
11 overflow
# used special rule Yes
# Pass 7
1#A 2#A → 1#A
2#A 3#A → 2#A
3#A 4#A → 3#A
4#A 5B# → 4#A
5B# 6B# → 5B#
6B# 7B# → 6B#
7B# 8B# → 7B#
8B# 9B# → 8B#
9B# 10A# → 9B#
10A# → 10A#
11 overflow
# used special rule No
<solution>#A #A #A #A B# B# B# B# B# A#</solution>
</EXAMPLE 4>
<EXAMPLE 5>
<problem>A# B# #A A# B# #B A# B# #A #A #A A#</problem>
# COUNT TOKENS
1A# 2B# 3#A 4A# 5B# 6#B 7A# 8B# 9#A 10#A 11#A 12A#
# Pass 1
1A# 2B# → 1A#
2B# 3#A → 2#A 3B#
4A# 5B# → 4A#
5B# 6#B →
7A# 8B# → 5A#
8B# 9#A → 6#A 7B#
10#A 11#A → 8#A
11#A 12A# → 9#A
12A# → 10A#
13 overflow
# used special rule Yes
# Pass 2
1A# 2#A →
3B# 4A# → 1B#
4A# 5A# → 2A#
5A# 6#A →
7B# 8#A → 3#A 4B#
9#A 10A# → 5#A
10A# → 6A#
11 overflow
# used special rule Yes
# Pass 3
1B# 2A# → 1B#
2A# 3#A →
4B# 5#A → 2#A 3B#
6A# → 4A#
7 overflow
# used special rule Yes
# Pass 4
1B# 2#A → 1#A 2B#
3B# 4A# → 3B#
4A# → 4A#
5 overflow
# used special rule Yes
# Pass 5
1#A 2B# → 1#A
2B# 3B# → 2B#
3B# 4A# → 3B#
4A# → 4A#
5 overflow
# used special rule No
<solution>#A B# B# A#</solution>
</EXAMPLE 5>
<EXAMPLE 6>
<problem>A# #A #A A# #B #A B# B# #B #A A# B#</problem>
# COUNT TOKENS
1A# 2#A 3#A 4A# 5#B 6#A 7B# 8B# 9#B 10#A 11A# 12B#
# Pass 1
1A# 2#A →
3#A 4A# → 1#A
4A# 5#B → 2#B 3A#
6#A 7B# → 4#A
7B# 8B# → 5B#
8B# 9#B →
10#A 11A# → 6#A
11A# 12B# → 7A#
12B# → 8B#
13 overflow
# used special rule Yes
# Pass 2
1#A 2#B → 1#A
2#B 3A# → 2#B
3A# 4#A →
5B# 6#A → 3#A 4B#
7A# 8B# → 5A#
8B# → 6B#
9 overflow
# used special rule Yes
# Pass 3
1#A 2#B → 1#A
2#B 3#A → 2#B
3#A 4B# → 3#A
4B# 5A# → 4B#
5A# 6B# → 5A#
6B# → 6B#
7 overflow
# used special rule No
<solution>#A #B #A B# A# B#</solution>
</EXAMPLE 6>
<EXAMPLE 7>
<problem>A# #B #B #A #A #A #A A# #B #A #A #B</problem>
# COUNT TOKENS
1A# 2#B 3#B 4#A 5#A 6#A 7#A 8A# 9#B 10#A 11#A 12#B
# Pass 1
1A# 2#B → 1#B 2A#
3#B 4#A → 3#B
4#A 5#A → 4#A
5#A 6#A → 5#A
6#A 7#A → 6#A
7#A 8A# → 7#A
8A# 9#B → 8#B 9A#
10#A 11#A → 10#A
11#A 12#B → 11#A
12#B → 12#B
13 overflow
# used special rule Yes
# Pass 2
1#B 2A# → 1#B
2A# 3#B → 2#B 3A#
4#A 5#A → 4#A
5#A 6#A → 5#A
6#A 7#A → 6#A
7#A 8#B → 7#A
8#B 9A# → 8#B
9A# 10#A →
11#A 12#B → 9#A
12#B → 10#B
13 overflow
# used special rule Yes
# Pass 3
1#B 2#B → 1#B
2#B 3A# → 2#B
3A# 4#A →
5#A 6#A → 3#A
6#A 7#A → 4#A
7#A 8#B → 5#A
8#B 9#A → 6#B
9#A 10#B → 7#A
10#B → 8#B
11 overflow
# used special rule Yes
# Pass 4
1#B 2#B → 1#B
2#B 3#A → 2#B
3#A 4#A → 3#A
4#A 5#A → 4#A
5#A 6#B → 5#A
6#B 7#A → 6#B
7#A 8#B → 7#A
8#B → 8#B
9 overflow
# used special rule No
<solution>#B #B #A #A #A #B #A #B</solution>
</EXAMPLE 7>
<EXAMPLE 8>
<problem>A# A# B# B# #A #B #A #A #A #A #A #A</problem>
# COUNT TOKENS
1A# 2A# 3B# 4B# 5#A 6#B 7#A 8#A 9#A 10#A 11#A 12#A
# Pass 1
1A# 2A# → 1A#
2A# 3B# → 2A#
3B# 4B# → 3B#
4B# 5#A → 4#A 5B#
6#B 7#A → 6#B
7#A 8#A → 7#A
8#A 9#A → 8#A
9#A 10#A → 9#A
10#A 11#A → 10#A
11#A 12#A → 11#A
12#A → 12#A
13 overflow
# used special rule Yes
# Pass 2
1A# 2A# → 1A#
2A# 3B# → 2A#
3B# 4#A → 3#A 4B#
5B# 6#B →
7#A 8#A → 5#A
8#A 9#A → 6#A
9#A 10#A → 7#A
10#A 11#A → 8#A
11#A 12#A → 9#A
12#A → 10#A
13 overflow
# used special rule Yes
# Pass 3
1A# 2A# → 1A#
2A# 3#A →
4B# 5#A → 2#A 3B#
6#A 7#A → 4#A
7#A 8#A → 5#A
8#A 9#A → 6#A
9#A 10#A → 7#A
10#A → 8#A
11 overflow
# used special rule Yes
# Pass 4
1A# 2#A →
3B# 4#A → 1#A 2B#
5#A 6#A → 3#A
6#A 7#A → 4#A
7#A 8#A → 5#A
8#A → 6#A
9 overflow
# used special rule Yes
# Pass 5
1#A 2B# → 1#A
2B# 3#A → 2#A 3B#
4#A 5#A → 4#A
5#A 6#A → 5#A
6#A → 6#A
7 overflow
# used special rule Yes
# Pass 6
1#A 2#A → 1#A
2#A 3B# → 2#A
3B# 4#A → 3#A 4B#
5#A 6#A → 5#A
6#A → 6#A
7 overflow
# used special rule Yes
# Pass 7
1#A 2#A → 1#A
2#A 3#A → 2#A
3#A 4B# → 3#A
4B# 5#A → 4#A 5B#
6#A → 6#A
7 overflow
# used special rule Yes
# Pass 8
1#A 2#A → 1#A
2#A 3#A → 2#A
3#A 4#A → 3#A
4#A 5B# → 4#A
5B# 6#A → 5#A 6B#
7 overflow
# used special rule Yes
# Pass 9
1#A 2#A → 1#A
2#A 3#A → 2#A
3#A 4#A → 3#A
4#A 5#A → 4#A
5#A 6B# → 5#A
6B# → 6B#
7 overflow
# used special rule No
<solution>#A #A #A #A #A B#</solution>
</EXAMPLE 8>
# Guidelines:
- Make SURE complete to every step PERFECTLY without ANY Mistakes
- End with <solution>Solution</solution> Format
- Follow the Rules I Gave you and Remember to Index the OLD
# Terms
"OLD Tokens" and "NEW Tokens"
OLD Tokens → NEW Tokens
# Pass 1
Previous OLD Tokens → Previous NEW Tokens
// Previous NEW Tokens → OLD Tokens
# Pass 2
OLD Tokens → NEW Tokens
- Carefully COUNT and TRACK Tokens by their INDEX.
- When you write the OLD Tokens make sure to Carefully READ the EXACT Previous NEW Tokens Including it's Index and REPEAT the Token EXACTLY.
- The problem is ALWAYS 12 Tokens so stop counting after you reach 13 overflow
Take a Deep Breath and Carefully Follow the Rules, Guides and use the Examples as a Template. When you write the OLD Tokens make sure to Carefully READ the EXACT Previous NEW Tokens Including it's Index and REPEAT the Token EXACTLY. I will tip you $2000 if you do EVERYTHING Perfectly. You can do it!
1ddbb22b81d93725056f1c12ddbeb10688b0d7a662e518f0195e22c8900bcb26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment