Alice Community

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

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
- loading screen (with animation too! :D)
- generates random puzzles (with proper tessellation!)
- cursor that selects square
- cursor movement with boundaries

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

- menu*
- 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

First Release! Go here to download: [url]http://www.alice.org/community/showthread.php?p=17516[/url]

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

- game set up
- loading screen (with animation too! )
- 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:

- menu
- 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 09:25 PM.

Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.