Jump to content

[Phaser] Match Two Game


Raptisha
 Share

Recommended Posts

Hello!

I am very excited to present you my recent game. I am sure you've already played this type of game, but I just wanted to build it myself.

Basically, you have to pick two cards. If they are identical, both of them are removed from the board. The goal is to clear the board as quick as possible.

match-two.gif.379709b8650728f42988cd6d1e74d3da.gif

Please, give it a try and leave a feedback! 

Play it here .

Check out the source code .

Have fun!

Link to comment
Share on other sites

1 hour ago, Raptisha said:

@thanhtungtnt That's weird. vendor.bundle.js includes minified version of phaser.js library. Maybe the browser didn't fetch that file in time.
 

What browser / device are you using? Try reloading the page or incognito mode.

I think I missed something. Can you help me? please check the screenshot.

btw, I use https://github.com/tapio/live-server to run html5 game

Screenshot_1.png

Link to comment
Share on other sites

@thanhtungtnt did you run "npm install" ? 

1. First of all, you have to have node.js installed. I used the modern ES6 syntax and webpack to compile it to ES5.

2. Then, run "npm install" to install all of the game's dependencies, including the phaser.js itself.

3. Finally, run "npm run dev". This will bundle all the code and launch the server with live update.
 

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...