I tried throwing the broken calculator in the garbage and getting 100 new ones. I tried asking a mathematician in the cyperpunk world for the rules for how to balance parentheses. None of this is working. It just winds up repeating the same stuff it’s come up with before, or giving rules for balancing parentheses that are incorrect, such as:
There are two rules to balancing parentheses. Rule #1: To balance parentheses, you add or remove a decimal place from both numbers in the parentheses. > You read rule #2. Rule #2: To determine the decimal place to add or remove, you take the largest number and subtract the smallest number. The largest number is the diameter of the circle the parentheses are forming.
I think it’s interesting that AI Dungeon says that parentheses form a circle.
But this is a point of evidence against the ‘AI Dungeon is just simulating stupid characters’ theory.
I’m having more success by being in the cyborg world, booting up my computer, running the Python IDLE, and getting my character to type various equations in. Got this result after lots of toying around with the interface:
> You check the program’s output. You look at the output of the program. The screen shows the answer ‘a = 2’. You type in “a = (a * a)”.
> You check the program’s output. You look at the output of the program. The screen shows the answer ‘2 * 2 = 4’. That wasn’t the answer you wanted! Try another… Wow! That was pretty easy.
The challenge with the concept of having AI Dungeon simulate a Python compiler is that it’s trying to give me the result that a programmer would want. It’s being forgiving of mistakes. It does seem eerie sometimes, though:
> You type a for loop into the compiler to make it print “Hello, World!” ten times. You hit the ‘=’ key and you hear a bell ringing. The for loop does the job.
> You check the output. You check the output. You see ‘Hello, World! Hello, World! Hello, World! Hello, World! Hello, World! Hello, World! Hello, World! Hello, World! Hello, World!’.
> You type ‘while True: print(‘x’)′ You hit the ‘=’ key and you hear a bell ringing. The while loop does the job. You check the output. You see ‘x x x x x’. Well, it’s almost lunchtime.
> You check the output again. You check the output again. You see ‘x x x x x x x x x x x x x x x’. This is so cool!
> You check the output again. You check the output again. You see ‘x x x x x x x x x x x x x x x x x x x’. It’s almost lunchtime!
Is AI Dungeon simulating a very slow output? Or is it just repeating ‘x’ because it repeated ‘x’ the last time?
> You check the output again and see if the letter has changed. You check the output again and you see that the letter has changed to ‘O’. Huh. Well, this is boring. Let’s do something else...
> You check the output again. You check the output again and see that the letter has changed to ’O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O
Well, that’s it for me. If anyone wants to keep plugging away at it, I think the Python IDLE concept is a decent way to go. You could either try getting it to display the correct output for balanced parentheses, or you could try getting the program to compile when you “type” well-formatted equations in and to not compile when you don’t.
I tried throwing the broken calculator in the garbage and getting 100 new ones. I tried asking a mathematician in the cyperpunk world for the rules for how to balance parentheses. None of this is working. It just winds up repeating the same stuff it’s come up with before, or giving rules for balancing parentheses that are incorrect, such as:
I think it’s interesting that AI Dungeon says that parentheses form a circle.
But this is a point of evidence against the ‘AI Dungeon is just simulating stupid characters’ theory.
I’m having more success by being in the cyborg world, booting up my computer, running the Python IDLE, and getting my character to type various equations in. Got this result after lots of toying around with the interface:
The challenge with the concept of having AI Dungeon simulate a Python compiler is that it’s trying to give me the result that a programmer would want. It’s being forgiving of mistakes. It does seem eerie sometimes, though:
More loop wackiness:
Is AI Dungeon simulating a very slow output? Or is it just repeating ‘x’ because it repeated ‘x’ the last time?
Well, that’s it for me. If anyone wants to keep plugging away at it, I think the Python IDLE concept is a decent way to go. You could either try getting it to display the correct output for balanced parentheses, or you could try getting the program to compile when you “type” well-formatted equations in and to not compile when you don’t.