this is a puzzle game in which there are three rows of lines. You
and the computer take turns removing them. To win, make the computer
erase the last line.
I'm planning on making it one of the puzzles in my next
adventure game, but it's still rather fun on its own.
enjoy -- http://mysite.verizon.net/eajohn/linegame.zip
just played it and It ROCKS! Abooya! That is one hell of a mini-game. It is really good. Keep up the gud work and that Adventure game u said you were working on will be a HUGELY good game.
U RULZ!
its cool but i keep on losing its way to smart for me!
same. that is one smart eraser.
oh well i should polt on how i will trap it
hey if you got the time tell me what you think of my signature thank you
yeah, there's only one way to beat it (I think), but the game is rigged for the person who goes first.
Spoiler
try starting out by taking one line from row two...
geomis-- your sig is..... interesting :)
There are at least two ways to beat it:
Spoiler
You can take a line from row 1 to start with as well
Actually, since you've programmed this perhaps you can help me with the logic. I think I worked out a general solution while playing a game similar to this, but I haven't been able to use it to always win, I just know exactly what move the computer will make.
Spoiler
If there are only 2 rows, you have to keep the number of sticks in both rows equal. The first one to break this pattern loses.
If there are 3 rows then the sum of the number of sticks in two rows must equal the number of sticks in the third. If you want to win you have to ensure that the computer breaks this pattern.
I believe you can extrapolate from here for any size puzzle. The logic's not quite there though. If you get stuck with 3 rows, 1 line on each then you've lost.
That's as far as I've gotten, so I have an understanding and I know the outcome but I haven't gotten far enough to always win the game.
Wow that is such a cool simple game. Good work.
It's the game of Nin, which is solved. Ã, A quick Google will easily net you results if you want.
Quote from: NobleHelium on Fri 03/06/2005 11:48:05
It's the game of Nin, which is solved. A quick Google will easily net you results if you want.
link please, I couldn't find it :(
Punch:
Spoiler
I hadn't noticed that one before, whenever I tried that move, for my next move I'd take row three down to 2 sticks to keep it and row one equal to row two, rather than to taking one from it...
Keeping two rows equal to the third only works if those two rows aren't equal, otherwise the comp can take the the large row and force you to break the two equal rows requirement.
hope that told you something you didn't already know...