Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anjmao/phaser-candy-crush
Candy crush like game made with Phaser HTML5 game engine
https://github.com/anjmao/phaser-candy-crush
candy-crush game phaser typescript
Last synced: about 1 month ago
JSON representation
Candy crush like game made with Phaser HTML5 game engine
- Host: GitHub
- URL: https://github.com/anjmao/phaser-candy-crush
- Owner: anjmao
- License: mit
- Created: 2015-06-20T22:43:36.000Z (over 9 years ago)
- Default Branch: github_master
- Last Pushed: 2022-09-27T06:51:09.000Z (about 2 years ago)
- Last Synced: 2024-09-29T23:45:40.254Z (about 2 months ago)
- Topics: candy-crush, game, phaser, typescript
- Language: TypeScript
- Homepage: http://candy-game.herokuapp.com/
- Size: 9.52 MB
- Stars: 52
- Watchers: 7
- Forks: 34
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Candy crush like game made with Phaser HTML5 game engine
## About this game
One day I found very interesting blog post by [Matthijs Hollemans](http://www.raywenderlich.com/66877/how-to-make-a-game-like-candy-crush-part-1)
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](http://candy-game.herokuapp.com/). 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](https://github.com/Anjmao/candy/blob/github_master/heroku.png)