Skip to content

Instantly share code, notes, and snippets.

@GameDevGitHub
Created April 10, 2024 00:00
Show Gist options
  • Save GameDevGitHub/db95a934da57e6f61cca58bfbb1b2090 to your computer and use it in GitHub Desktop.
Save GameDevGitHub/db95a934da57e6f61cca58bfbb1b2090 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
Rule:1A# 2A# → 1A#
Rule:2A# 3A# → 2A#
Rule:3A# 4A# → 3A#
Rule:4A# 5A# → 4A#
Rule:5A# 6#B → 5#B 6A#
Rule:7A# 8#B → 7#B 8A#
Rule:9#B 10#B → 9#B
Rule:10#B 11#A → 10#B
Rule:11#A 12A# → 11#A
Rule:12A# → 12A#
13 overflow
# used special rule Yes
# Pass 2
Rule:1A# 2A# → 1A#
Rule:2A# 3A# → 2A#
Rule:3A# 4A# → 3A#
Rule:4A# 5#B → 4#B 5A#
Rule:6A# 7#B → 6#B 7A#
Rule:8A# 9#B → 8#B 9A#
Rule:10#B 11#A → 10#B
Rule:11#A 12A# → 11#A
Rule:12A# → 12A#
13 overflow
# used special rule Yes
# Pass 3
Rule:1A# 2A# → 1A#
Rule:2A# 3A# → 2A#
Rule:3A# 4#B → 3#B 4A#
Rule:5A# 6#B → 5#B 6A#
Rule:7A# 8#B → 7#B 8A#
Rule:9A# 10#B → 9#B 10A#
Rule:11#A 12A# → 11#A
Rule:12A# → 12A#
13 overflow
# used special rule Yes
# Pass 4
Rule:1A# 2A# → 1A#
Rule:2A# 3#B → 2#B 3A#
Rule:4A# 5#B → 4#B 5A#
Rule:6A# 7#B → 6#B 7A#
Rule:8A# 9#B → 8#B 9A#
Rule:10A# 11#A →
Rule:12A# → 10A#
13 overflow
# used special rule Yes
# Pass 5
Rule:1A# 2#B → 1#B 2A#
Rule:3A# 4#B → 3#B 4A#
Rule:5A# 6#B → 5#B 6A#
Rule:7A# 8#B → 7#B 8A#
Rule:9A# 10A# → 9A#
Rule:10A# → 10A#
11 overflow
# used special rule Yes
# Pass 6
Rule:1#B 2A# → 1#B
Rule:2A# 3#B → 2#B 3A#
Rule:4A# 5#B → 4#B 5A#
Rule:6A# 7#B → 6#B 7A#
Rule:8A# 9A# → 8A#
Rule:9A# 10A# → 9A#
Rule:10A# → 10A#
11 overflow
# used special rule Yes
# Pass 7
Rule:1#B 2#B → 1#B
Rule:2#B 3A# → 2#B
Rule:3A# 4#B → 3#B 4A#
Rule:5A# 6#B → 5#B 6A#
Rule:7A# 8A# → 7A#
Rule:8A# 9A# → 8A#
Rule:9A# 10A# → 9A#
Rule:10A# → 10A#
11 overflow
# used special rule Yes
# Pass 8
Rule:1#B 2#B → 1#B
Rule:2#B 3#B → 2#B
Rule:3#B 4A# → 3#B
Rule:4A# 5#B → 4#B 5A#
Rule:6A# 7A# → 6A#
Rule:7A# 8A# → 7A#
Rule:8A# 9A# → 8A#
Rule:9A# 10A# → 9A#
Rule:10A# → 10A#
11 overflow
# used special rule Yes
# Pass 9
Rule:1#B 2#B → 1#B
Rule:2#B 3#B → 2#B
Rule:3#B 4#B → 3#B
Rule:4#B 5A# → 4#B
Rule:5A# 6A# → 5A#
Rule:6A# 7A# → 6A#
Rule:7A# 8A# → 7A#
Rule:8A# 9A# → 8A#
Rule:9A# 10A# → 9A#
Rule: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
Rule:1#A 2B# → 1#A
Rule:2B# 3#B →
Rule:4#B 5#B → 2#B
Rule:5#B 6#A → 3#B
Rule:6#A 7A# → 4#A
Rule:7A# 8B# → 5A#
Rule:8B# 9#B →
Rule:10A# 11#A →
Rule:12#B → 6#B
13 overflow
# used special rule Yes
# Pass 2
Rule:1#A 2#B → 1#A
Rule:2#B 3#B → 2#B
Rule:3#B 4#A → 3#B
Rule:4#A 5A# → 4#A
Rule:5A# 6#B → 5#B 6A#
7 overflow
# used special rule Yes
# Pass 3
Rule:1#A 2#B → 1#A
Rule:2#B 3#B → 2#B
Rule:3#B 4#A → 3#B
Rule:4#A 5#B → 4#A
Rule:5#B 6A# → 5#B
Rule: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
Rule:1A# 2B# → 1A#
Rule:2B# 3B# → 2B#
Rule:3B# 4#A → 3#A 4B#
Rule:5B# 6B# → 5B#
Rule:6B# 7B# → 6B#
Rule:7B# 8#A → 7#A 8B#
Rule:9#A 10B# → 9#A
Rule:10B# 11B# → 10B#
Rule:11B# 12#B →
13 overflow
# used special rule Yes
# Pass 2
Rule:1A# 2B# → 1A#
Rule:2B# 3#A → 2#A 3B#
Rule:4B# 5B# → 4B#
Rule:5B# 6B# → 5B#
Rule:6B# 7#A → 6#A 7B#
Rule:8B# 9#A → 8#A 9B#
Rule:10B# → 10B#
11 overflow
# used special rule Yes
# Pass 3
Rule:1A# 2#A →
Rule:3B# 4B# → 1B#
Rule:4B# 5B# → 2B#
Rule:5B# 6#A → 3#A 4B#
Rule:7B# 8#A → 5#A 6B#
Rule:9B# 10B# → 7B#
Rule:10B# → 8B#
11 overflow
# used special rule Yes
# Pass 4
Rule:1B# 2B# → 1B#
Rule:2B# 3#A → 2#A 3B#
Rule:4B# 5#A → 4#A 5B#
Rule:6B# 7B# → 6B#
Rule:7B# 8B# → 7B#
Rule:8B# → 8B#
9 overflow
# used special rule Yes
# Pass 5
Rule:1B# 2#A → 1#A 2B#
Rule:3B# 4#A → 3#A 4B#
Rule:5B# 6B# → 5B#
Rule:6B# 7B# → 6B#
Rule:7B# 8B# → 7B#
Rule:8B# → 8B#
9 overflow
# used special rule Yes
# Pass 6
Rule:1#A 2B# → 1#A
Rule:2B# 3#A → 2#A 3B#
Rule:4B# 5B# → 4B#
Rule:5B# 6B# → 5B#
Rule:6B# 7B# → 6B#
Rule:7B# 8B# → 7B#
Rule:8B# → 8B#
9 overflow
# used special rule Yes
# Pass 7
Rule:1#A 2#A → 1#A
Rule:2#A 3B# → 2#A
Rule:3B# 4B# → 3B#
Rule:4B# 5B# → 4B#
Rule:5B# 6B# → 5B#
Rule:6B# 7B# → 6B#
Rule:7B# 8B# → 7B#
Rule: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
Rule:1B# 2B# → 1B#
Rule:2B# 3B# → 2B#
Rule:3B# 4#A → 3#A 4B#
Rule:5B# 6#A → 5#A 6B#
Rule:7#A 8B# → 7#A
Rule:8B# 9#A → 8#A 9B#
Rule:10A# 11B# → 10A#
Rule:11B# 12#B →
13 overflow
# used special rule Yes
# Pass 2
Rule:1B# 2B# → 1B#
Rule:2B# 3#A → 2#A 3B#
Rule:4B# 5#A → 4#A 5B#
Rule:6B# 7#A → 6#A 7B#
Rule:8#A 9B# → 8#A
Rule:9B# 10A# → 9B#
Rule:10A# → 10A#
11 overflow
# used special rule Yes
# Pass 3
Rule:1B# 2#A → 1#A 2B#
Rule:3B# 4#A → 3#A 4B#
Rule:5B# 6#A → 5#A 6B#
Rule:7B# 8#A → 7#A 8B#
Rule:9B# 10A# → 9B#
Rule:10A# → 10A#
11 overflow
# used special rule Yes
# Pass 4
Rule:1#A 2B# → 1#A
Rule:2B# 3#A → 2#A 3B#
Rule:4B# 5#A → 4#A 5B#
Rule:6B# 7#A → 6#A 7B#
Rule:8B# 9B# → 8B#
Rule:9B# 10A# → 9B#
Rule:10A# → 10A#
11 overflow
# used special rule Yes
# Pass 5
Rule:1#A 2#A → 1#A
Rule:2#A 3B# → 2#A
Rule:3B# 4#A → 3#A 4B#
Rule:5B# 6#A → 5#A 6B#
Rule:7B# 8B# → 7B#
Rule:8B# 9B# → 8B#
Rule:9B# 10A# → 9B#
Rule:10A# → 10A#
11 overflow
# used special rule Yes
# Pass 6
Rule:1#A 2#A → 1#A
Rule:2#A 3#A → 2#A
Rule:3#A 4B# → 3#A
Rule:4B# 5#A → 4#A 5B#
Rule:6B# 7B# → 6B#
Rule:7B# 8B# → 7B#
Rule:8B# 9B# → 8B#
Rule:9B# 10A# → 9B#
Rule:10A# → 10A#
11 overflow
# used special rule Yes
# Pass 7
Rule:1#A 2#A → 1#A
Rule:2#A 3#A → 2#A
Rule:3#A 4#A → 3#A
Rule:4#A 5B# → 4#A
Rule:5B# 6B# → 5B#
Rule:6B# 7B# → 6B#
Rule:7B# 8B# → 7B#
Rule:8B# 9B# → 8B#
Rule:9B# 10A# → 9B#
Rule: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
Rule:1A# 2B# → 1A#
Rule:2B# 3#A → 2#A 3B#
Rule:4A# 5B# → 4A#
Rule:5B# 6#B →
Rule:7A# 8B# → 5A#
Rule:8B# 9#A → 6#A 7B#
Rule:10#A 11#A → 8#A
Rule:11#A 12A# → 9#A
Rule:12A# → 10A#
13 overflow
# used special rule Yes
# Pass 2
Rule:1A# 2#A →
Rule:3B# 4A# → 1B#
Rule:4A# 5A# → 2A#
Rule:5A# 6#A →
Rule:7B# 8#A → 3#A 4B#
Rule:9#A 10A# → 5#A
Rule:10A# → 6A#
11 overflow
# used special rule Yes
# Pass 3
Rule:1B# 2A# → 1B#
Rule:2A# 3#A →
Rule:4B# 5#A → 2#A 3B#
Rule:6A# → 4A#
7 overflow
# used special rule Yes
# Pass 4
Rule:1B# 2#A → 1#A 2B#
Rule:3B# 4A# → 3B#
Rule:4A# → 4A#
5 overflow
# used special rule Yes
# Pass 5
Rule:1#A 2B# → 1#A
Rule:2B# 3B# → 2B#
Rule:3B# 4A# → 3B#
Rule: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
Rule:1A# 2#A →
Rule:3#A 4A# → 1#A
Rule:4A# 5#B → 2#B 3A#
Rule:6#A 7B# → 4#A
Rule:7B# 8B# → 5B#
Rule:8B# 9#B →
Rule:10#A 11A# → 6#A
Rule:11A# 12B# → 7A#
Rule:12B# → 8B#
13 overflow
# used special rule Yes
# Pass 2
Rule:1#A 2#B → 1#A
Rule:2#B 3A# → 2#B
Rule:3A# 4#A →
Rule:5B# 6#A → 3#A 4B#
Rule:7A# 8B# → 5A#
Rule:8B# → 6B#
9 overflow
# used special rule Yes
# Pass 3
Rule:1#A 2#B → 1#A
Rule:2#B 3#A → 2#B
Rule:3#A 4B# → 3#A
Rule:4B# 5A# → 4B#
Rule:5A# 6B# → 5A#
Rule: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
Rule:1A# 2#B → 1#B 2A#
Rule:3#B 4#A → 3#B
Rule:4#A 5#A → 4#A
Rule:5#A 6#A → 5#A
Rule:6#A 7#A → 6#A
Rule:7#A 8A# → 7#A
Rule:8A# 9#B → 8#B 9A#
Rule:10#A 11#A → 10#A
Rule:11#A 12#B → 11#A
Rule:12#B → 12#B
13 overflow
# used special rule Yes
# Pass 2
Rule:1#B 2A# → 1#B
Rule:2A# 3#B → 2#B 3A#
Rule:4#A 5#A → 4#A
Rule:5#A 6#A → 5#A
Rule:6#A 7#A → 6#A
Rule:7#A 8#B → 7#A
Rule:8#B 9A# → 8#B
Rule:9A# 10#A →
Rule:11#A 12#B → 9#A
Rule:12#B → 10#B
13 overflow
# used special rule Yes
# Pass 3
Rule:1#B 2#B → 1#B
Rule:2#B 3A# → 2#B
Rule:3A# 4#A →
Rule:5#A 6#A → 3#A
Rule:6#A 7#A → 4#A
Rule:7#A 8#B → 5#A
Rule:8#B 9#A → 6#B
Rule:9#A 10#B → 7#A
Rule:10#B → 8#B
11 overflow
# used special rule Yes
# Pass 4
Rule:1#B 2#B → 1#B
Rule:2#B 3#A → 2#B
Rule:3#A 4#A → 3#A
Rule:4#A 5#A → 4#A
Rule:5#A 6#B → 5#A
Rule:6#B 7#A → 6#B
Rule:7#A 8#B → 7#A
Rule:8#B → 8#B
9 overflow
# used special rule No
<solution>#B #B #A #A #A #B #A #B</solution>
</EXAMPLE 7>
# 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!
f42e404abdd8ba5ba3cb4f202ca4bafa8a195a461ad1764040850b299a4f5ad0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment