File: Pearls Before Swine.swf-(147 KB, 640x480, Other)
[_] You Should Be Able to Solve This Anonymous 08/04/18(Sat)10:46:07 No.3350178
Some notes to help people win:
There are three easily-achievable unwinnable scenarios, which occur when you have to remove
pearls and the field consists of:
>a row of 3, a row of 2, and a row of 1
>two rows with the same number of pearls
>three rows with one pearl each
If you think carefully, you can work out the best possible first move, and it's easy from there.
>> [_] Anonymous 08/04/18(Sat)11:03:44 No.3350182
Do his animations mean anything?
After my first move, he used to scratch his head, which made me think I was doing good.
But now he just goes "aha!"
>> [_] Anonymous 08/04/18(Sat)11:12:41 No.3350188
>>3350182
I tried to work that out. I think it's supposed to mean something, but wasn't programmed in quite
right. He laughs even when you're on a good path, but his responses seem to be very consistent
when presented with the same field. He still plays perfectly, though.
>> [_] Anonymous 08/04/18(Sat)11:57:52 No.3350192
How old is this? I played this when I was super young.
>> [_] Anonymous 08/04/18(Sat)12:09:56 No.3350194
ez done his eyes get wide then he just fucks off and doesnt come back
>> [_] Anonymous 08/04/18(Sat)13:06:02 No.3350199
If you take out 2 of the pearls from the row with 3, you can force him into a 1-2-3 position, and
it's an easy win from there.
>> [_] Anonymous 08/04/18(Sat)14:10:48 No.3350201
1. Take 2 from A (top row of 2).
2. Jerk takes 1 from B (second row of 4).
3. Take 3 from C (botton row of 5).
4. Douche takes 1 from B.
5. Take remaining pearl from A.
6. Asshole takes 1 from B.
7. Take remaining 2 from C.
8. ????
9. PROFIT!!!
>> [_] Anonymous 08/04/18(Sat)18:59:24 No.3350227
>>3350192
I played a similar game from these guys called 'chasm'. http://transience.com.au/indexflash.html
Here's the flash area of their website, hope it never goes down.
>> [_] Anonymous 08/04/18(Sat)20:24:46 No.3350232
OP here, I've spent a little time studying the game since I posted the flash. This is based on an
ancient game called Nim.
There's some pretty basic binary math you can do to solve for any number of rows of any length.
For example, using this game:
3 in binary -> 011
4 in binary -> 100
5 in binary -> 101
To work out the move you want to make, take the 'nim sum' of the rows, which is basically working
out whether each column has an even or odd number of 1s:
011
100
101
-------
010
(the first column has an even number of 1s -> 0, while the second column has an odd number of 1s
-> 1, etc.)
To work out what play you want to make, you want to make it so that the 'nim sum' is 0. In this
case, it can only be done by reducing the "011" row, since reducing either of the other two rows
would result in the 'nim sum' starting with a 1.
For a game with 4 rows, with 3, 4, 5, and 6 pearls (this is the layout for Pearls Before Swine
II):
011
100
101
110
-------
100
So your first play can be to remove 4 from any row.
>> [_] Anonymous 08/04/18(Sat)20:28:14 No.3350233
>>3350232
Reading through this again, I can make it a bit more clear.
In the first game, reducing the top row by 2 results in
001
100
101
------
000
Which is what you want, since reducing the nim sum to 0 is how you win.
In the second game, removing 4 pearls from the bottom row (or either of the other two rows with
at least 4 pearls) yields
011
100
101
010
------
000
etc.
>> [_] Anonymous 08/04/18(Sat)20:44:45 No.3350235
>>3350233
Didn't work
Start
011
100
101
-----
010
First I took 2 from the first row
001
100
101
-----
000
Then he took 1 from the second row
001
011
101
-----
111
Then I took all from the second row
001
000
101
-----
000
and then the faggot took all from the third row and I was left with the last one in the first row
>> [_] Anonymous 08/04/18(Sat)20:47:14 No.3350236
>>3350235
>>Then I took all from the second row
>001
>000
>101
>-----
>000
This is where you went wrong. This adds up to 100.
001
011
101
------
111
Remove 3 from bottom row
001
011
010
-----
000
>> [_] Anonymous 08/04/18(Sat)20:53:05 No.3350237
>>3350236
fug
>> [_] Anonymous 08/04/18(Sat)22:07:41 No.3350251
>>3350227
well it's gone