Adventure Game Studio | Forums

AGS Games => Completed Game Announcements => Topic started by: gonzo29 on Sun 15/05/2005 00:24:48

Title: Non-Adventure, Puzzle game
Post by: gonzo29 on Sun 15/05/2005 00:24:48
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.


(http://mysite.verizon.net/eajohn/lines.jpg)


enjoy --  http://mysite.verizon.net/eajohn/linegame.zip
Title: Re: Non-Adventure, Puzzle game
Post by: PsychicHeart on Sun 15/05/2005 05:05:06
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!
Title: Re: Non-Adventure, Puzzle game
Post by: geomis on Sun 15/05/2005 05:59:21
its cool but i keep on losing its way to smart for me!
Title: Re: Non-Adventure, Puzzle game
Post by: PsychicHeart on Sun 15/05/2005 09:57:36
same. that is one smart eraser.
Title: Re: Non-Adventure, Puzzle game
Post by: geomis on Sun 15/05/2005 09:58:45
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
Title: Re: Non-Adventure, Puzzle game
Post by: gonzo29 on Mon 16/05/2005 00:38:10
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...
[close]

geomis-- your sig is..... interesting  :)
Title: Re: Non-Adventure, Puzzle game
Post by: Punch on Mon 23/05/2005 13:10:50
There are at least two ways to beat it:
Spoiler

You can take a line from row 1 to start with as well
[close]

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.
[close]

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.
Title: Re: Non-Adventure, Puzzle game
Post by: on Sat 28/05/2005 12:22:08
Wow that is such a cool simple game. Good work.
Title: Re: Non-Adventure, Puzzle game
Post by: 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.
Title: Re: Non-Adventure, Puzzle game
Post by: gonzo29 on Sat 04/06/2005 01:59:02
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.
[close]
hope that told you something you didn't already know...