Jump to content

[Phaser][WIP] 8Puzzle


Arlefreak
 Share

Recommended Posts

Hi! today my last game became "playable"

 

You can find it here : http://www.arlefreak.com/games/8puzzle/play/ To play use the arrow keys

 

And the source code: https://github.com/Arlefreak/Phaser-8-puzzle-game

Currently its using Phaser 2.0.2

 

It is an attempt to improve my JS and AI skills, the objective is to get the right order of the numbers, I used A* algorithm to find the answer, at the moment you can see the progression opening the console and hiting the arrow button.

 

I will really appreciate if someone could tell me any feedback on my JS or AI skills based on the code :) or any feedback actually :)

 

When I implement the solving animation will update this :)

 

Link to comment
Share on other sites

I shuffled the game and then got 1 through 8 in order from top left to bottom right, but nothing happened. It doesn't detect a completed game yet?

I need to implement more user experience things I focused on making the AI thing but your are right will update that soon :) thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...