Adventure Game Studio | Forums

AGS Games => Completed Game Announcements => Topic started by: gonzo29 on 15 May 2005, 00:24

Title: Non-Adventure, Puzzle game
Post by: gonzo29 on 15 May 2005, 00:24
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 15 May 2005, 05:05
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 15 May 2005, 05:59
its cool but i keep on losing its way to smart for me!
Title: Re: Non-Adventure, Puzzle game
Post by: PsychicHeart on 15 May 2005, 09:57
same. that is one smart eraser.
Title: Re: Non-Adventure, Puzzle game
Post by: geomis on 15 May 2005, 09:58
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 16 May 2005, 00:38
yeah,  there's only one way to beat it (I think), but the game is rigged for the person who goes first.

Spoiler: ShowHide

try starting out by taking one line from row two...


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

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: ShowHide

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.
Title: Re: Non-Adventure, Puzzle game
Post by: on 28 May 2005, 12:22
Wow that is such a cool simple game. Good work.
Title: Re: Non-Adventure, Puzzle game
Post by: on 03 Jun 2005, 11:48
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 04 Jun 2005, 01:59
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: ShowHide
 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...