Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - viktoriadis

#1
Hi all,
This is my first post.
Usually i find the answers to most of my questions in the forum but not this time, and as i recall i have to post something from time to time!
so here it goes!
I would like to create a Peg's Solitaire ( https://en.wikipedia.org/wiki/Peg_solitaire ) kind of puzzle, as part of a bigger one (password puzzle), in a project i am working.
it's been 2 days now i am thinking about a way defining the movement of the pieces, as they can only move only if they have another piece next to them and also there is a blank position next to the second piece. I know some limited and basic scripting in ags, but my imagination this time isn't helping. So if someone has an idea of how to get it done or a way to script the movement of the pieces (they jump over each other, eliminating the one the jump over) please post a reply.
you can see a way of solving the puzzle here: http://www.mathsisfun.com/games/triangle-peg-solitaire/

thank you in advance and sorry for my english,
one more...new guy :)
SMF spam blocked by CleanTalk