nes15 - Yet Another Puzzle Game
Moderator: Moderators
nes15 - Yet Another Puzzle Game
I haven't posted here or done any NES development in quite awhile, but last September I was bitten by the bug. After much studying, several exercises, and two months of work, I put together this:
It is an implementation of the Fifteen Puzzle for the NES. It even includes an auto-solver you can watch solve the puzzle for you.
Until I can come up with a better hosting solution, the game can be found here. The source code is released under a simple BSD-style license and is included with the game. Please see the 'README' and 'LICENSE' files for more details. Comments and questions are very much welcome.
02/12/12: Updated link
It is an implementation of the Fifteen Puzzle for the NES. It even includes an auto-solver you can watch solve the puzzle for you.
Until I can come up with a better hosting solution, the game can be found here. The source code is released under a simple BSD-style license and is included with the game. Please see the 'README' and 'LICENSE' files for more details. Comments and questions are very much welcome.
02/12/12: Updated link
Last edited by mbrenaman on Sun Feb 12, 2012 7:01 am, edited 1 time in total.
Very nice! The controls are smooth, and the choice of music is great. Do you have any further plans for this game, or do you consider it complete?
I have been working on a similar project with Game Maker for PC, and I'd be willing to share some of my plans that I think could be implemented in an NES version.
I have been working on a similar project with Game Maker for PC, and I'd be willing to share some of my plans that I think could be implemented in an NES version.
-
- Posts: 2158
- Joined: Sun Jun 05, 2005 2:04 pm
- Location: Minneapolis, Minnesota, United States
- Contact:
Sweet! You know, oddly enough, when I started NESDev, I was planning on making this game, but never actually got around to it (and actually, forgot about it).
It's funny, the puzzles I usually solve leave the blank space in the top-left corner. I was trying to solve it forever that way, and kept ending up with two switched peices, which actually brings me to a question. Is it possible to solve one of these no matter how the peices are arranged? Or are there some impossible starting layouts?
It's funny, the puzzles I usually solve leave the blank space in the top-left corner. I was trying to solve it forever that way, and kept ending up with two switched peices, which actually brings me to a question. Is it possible to solve one of these no matter how the peices are arranged? Or are there some impossible starting layouts?
Thank you everyone for the responses. It's always nice to get positive feedback.
I was hoping to call it complete, unless any bugs needed to be fixed or minor changes needed to be done.Do you have any further plans for this game, or do you consider it complete?
I would be curious to hear some of your ideas, but I can't guarantee that I would actually get around to implementing them. This, after all, was just a programming exercise to prepare myself for a slightly larger project.I have been working on a similar project with Game Maker for PC, and I'd be willing to share some of my plans that I think could be implemented in an NES version.
Believe it or not, I actually spent most of my time on the sound engine. The solver was one of the final things I did and it only took about a good week to a week and half to finish.Well I suck at this type of game, but congratulations for successfully writing the solving AI. This should have been the hard part !
This reply is correct:Is it possible to solve one of these no matter how the peices are arranged? Or are there some impossible starting layouts?
I forgot to include links to various websites about the puzzle in the README file unfortunately... However, I found the explanation about solvability here to be rather readable if you are interested.No, it is not possible to solve for any given random arrange of pieces. IIRC, 50% of random arrangements are solvable and 50% are not. I forget the proof, but it deals with an even and odd acid test.
Nice little game with good presentation. However, I think, the control method is overcomplicated and this hurts to the gameplay. You don't need a cursor - there is always only one tile for one direction on the field, so it is enough to just move a tile when a direction pressed. Much faster and optimal to play (less keypresses), also less code work.
Also, I would prefer to solve a puzzle with nice picture instead of boring numbers, but this is not easy technically, so numbers are OK.
Also, I would prefer to solve a puzzle with nice picture instead of boring numbers, but this is not easy technically, so numbers are OK.
- NESHomebrew
- Formerly WhatULive4
- Posts: 418
- Joined: Fri Oct 30, 2009 4:43 am
- Contact:
Either that or do like the FF1 version : allow to move multiple aligned pads in a single moves.Nice little game with good presentation. However, I think, the control method is overcomplicated and this hurts to the gameplay. You don't need a cursor - there is always only one tile for one direction on the field, so it is enough to just move a tile when a direction pressed. Much faster and optimal to play (less keypresses), also less code work.
Useless, lumbering half-wits don't scare us.
-
- Posts: 2158
- Joined: Sun Jun 05, 2005 2:04 pm
- Location: Minneapolis, Minnesota, United States
- Contact:
223 =).WhatULive4 wrote:I've always loved this game as a kid. Best so far: 240. Anyone else beat it?
Interesting. That is probably why even after 4000 moves, I could not solve the puzzle with the top-left space left blank!No, it is not possible to solve for any given random arrange of pieces. IIRC, 50% of random arrangements are solvable and 50% are not. I forget the proof, but it deals with an even and odd acid test.
EDIT:
Just bested my previous score: 124!
It is very nicely done. I like the cursor movement also, but I do agree with what Shiru's point about the controls being more complicated than needed. On the plus side, now anyone can look into the source code and see what you did to move the cursor like that.
The sound and the AI solver is pretty nice too. It's a pretty simple game by design, but it feels like it's finished, which isn't extremely common around here, heheh.
The sound and the AI solver is pretty nice too. It's a pretty simple game by design, but it feels like it's finished, which isn't extremely common around here, heheh.
A spammer who posted here earlier reminded me of this project. It looks good enough to go on my 2 meg multicart.