Alice Community (http://www.alice.org/community/index.php)
-   Works-In-Progress (http://www.alice.org/community/forumdisplay.php?f=14)

 Niteshifter 02-23-2010 12:38 AM

Slide Puzzle

I'm working on a slide puzzle game. It's a very simple one and the only difference is it uses numbers instead of pictures. I'll upload it once it's actually 'playable' because right now I barely have the basics done.

Here's a list of what's finished so far:

- game set up
- generates random puzzles (with proper tessellation!)
- cursor that selects square
- cursor movement with boundaries

Here's a list of what needs to be done:

- ability to move slide pieces
- puzzle answer (so the game knows when it's done)
- better cursor capabilities

*I have something special planned for the menu, but you'll have to wait for me to finish it in order to find out ;)

 Niteshifter 02-24-2010 09:57 PM

I've updated the game so here's what is has so far:

- game set up
- generates random puzzles (with proper tessellation!)
- cursor that selects square
- cursor movement with boundaries
- ability to move slide pieces
- puzzle answer (game can now determine when it's done)

Here's a list of what needs to be done:

- better cursor capabilities
- fix 14-15 unsolvable error
- Autosolver using Heuristic algorithm.

I'll also be placing in some extra little things like removing random junk stuff that isn't needed anymore, but that's after I have the list stuff done.

 x2495iiii 02-25-2010 08:43 AM

Oh, neat. I personally always hated slider puzzles when I was little, but that's because I was terrible at them.

 Niteshifter 02-25-2010 12:04 PM

I've actually had to test the game several times to see if it all worked together (especially when it checked the answer), so I'm pretty quick to solving it. There's actually a simple way to solve them too.

F - solved
o - need to solve
8 - unsolved

1. first, get the top row completed

[CODE]
[o][o][o][o]
[8][8][8][8]
[8][8][8][8]
[8][8][8][8]
[/CODE]

2. next, get the second row completed

[CODE]
[F][F][F][F]
[o][o][o][o]
[8][8][8][8]
[8][8][8][8]
[/CODE]

3. now, get the two unsolved squares on the left completed

[CODE]
[F][F][F][F]
[F][F][F][F]
[o][8][8][8]
[o][8][8][8]
[/CODE]

4. finish the next two squares

[CODE]
[F][F][F][F]
[F][F][F][F]
[F][o][8][8]
[F][o][8][8]
[/CODE]

5. keep switching around the last four squares until finished

[CODE]
[F][F][F][F]
[F][F][F][F]
[F][F][o][o]
[F][F][o][o]
[/CODE]

 All times are GMT -5. The time now is 12:54 PM.