Raptisha Posted March 8, 2017 Share Posted March 8, 2017 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. Please, give it a try and leave a feedback! Play it here . Check out the source code . Have fun! azzz, Umz, FakeWizard and 1 other 4 Quote Link to comment Share on other sites More sharing options...
FakeWizard Posted March 8, 2017 Share Posted March 8, 2017 looks like a great time waster kind of game ... also thumbs up for sharing the source :] Quote Link to comment Share on other sites More sharing options...
thanhtungtnt Posted March 10, 2017 Share Posted March 10, 2017 Hi, When I run game, it said that lack vendor bundle.js. How can I download it? Quote Link to comment Share on other sites More sharing options...
Raptisha Posted March 10, 2017 Author Share Posted March 10, 2017 @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. Quote Link to comment Share on other sites More sharing options...
thanhtungtnt Posted March 10, 2017 Share Posted March 10, 2017 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 Quote Link to comment Share on other sites More sharing options...
Raptisha Posted March 10, 2017 Author Share Posted March 10, 2017 @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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.