Giter Site home page Giter Site logo

revcozmo / phaser-candy-crush Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anjmao/phaser-candy-crush

0.0 2.0 0.0 9.75 MB

Candy crush like game made with Phaser HTML5 game engine

Home Page: http://candy-game.herokuapp.com/

License: MIT License

JavaScript 10.97% TypeScript 85.58% HTML 3.37% CSS 0.07%

phaser-candy-crush's Introduction

Candy crush like game made with Phaser HTML5 game engine

About this game

One day I found very interesting blog post by Matthijs Hollemans In this tutorial Matthijs Hollemans shows how to create Candy Crush like game in Object-C language. I readed his article and decided to rewrite this game using Phaser HTML5 game engine. I also used typescript language, because it gives a lot of advantages comparing to ES5 javascript. AngularJs is used only for creating game directive, so it can be easily included in angular app.

Demo

You can play demo with 5 levels here. This game is deployed to heroku using free plan so it may be not available some times.

Environment setup

  • Install NodeJs from https://nodejs.org/
  • clone repository to C:\Sources (create Source folder)
git clone https://github.com/Anjmao/candy.git
  • Run Npm install
npm install
  • Run gulp start to start game in browser
gulp start

Recommened IDE is Visual Studio Code.

Used technologies

  • Phaser
  • AngularJs
  • NodeJs+ExpressJs
  • Typescript

TODO

Where is some bugs which need to be fixed and running unit tests you can notice test called should fill holes after remove and get columns some times fails, after fixing this test it should be fine. Also I made cookies to fall from bottom to top, this is because in objective-c arrays index is different from javascript arrays.

Image

Image of Game

phaser-candy-crush's People

Contributors

andzejmac avatar

Watchers

James Cloos avatar The Reverend Cozmo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.