kandi background
Explore Kits
Candy Crush
This kandi kit for Candy Crush (one of the most popular games), has been rewritten using the Phaser HTML5 game engine along with Typescript language. AngularJs is also used for creating game directives, so they can be easily included in the angular app. Gulp is a streaming build system which can run tasks in sequence or parallel. Gulp-typescript is a plugin which allows you to convert your Typescript code into JavaScript. It can also serve as an alternative to TypeScript compiler if you don’t want all the features it provides (like support for external modules, rich IDE support). Gulp-concat is used to concatenate files together. Gulp-clean-css is used to remove comments from your CSS code. The most important part of building a game like Candy Crush is to have a solid workflow. We have used TypeScript, Gulp and Webpack and built a fully-functional Candy Crush game. We'll be using TypeScript, Gulp and Webpack to build a fully-functional Candy Crush game. kandi kit provides you with a fully deployable Candy Crush app. Source code included so that you can customize it for your requirement.

Training and Certification - How to build Candy Crush

Watch this self-guided tutorial on Gulp to optimize assets like images and spinning up web server aspect; game engine called Phaser HTML5 engine for 2D structure framework; Angular JS and finally an IDE of your choice to build your own Candy Crush game. Completed the training? Apply for your Participation Certificate and Achievement Certificate now! Tag us on social media with a screenshot or video of your working application for a chance to be featured as an Open Source Champion and get a verified badge.

Kit Deployment Instructions

For Windows OS, Download, extract and double-click kit installer file to install the kit. Note: Do ensure to extract the zip file before running it. 1. When you're prompted during the installation of the kit, press Y to launch the app automatically. 2. To run the app manually, press N when you're prompted and locate the zip file candy.zip 3. Extract the zip file and navigate to the directory candy 4. Open command prompt in the extracted directory candy and run the following commands one by one respectively: npm install; npm install -g gulp; start http://localhost:3000 && gulp start For other Operating System, 1. Click here to install nodejs. 2. Click here to download the repository. 3. Extract the zip file and navigate to the directory candy. 4. Open terminal in the extracted directory candy. 5. Run the following commands one by one respectively: npm install; npm install -g gulp; start http://localhost:3000 && gulp start .

Development Environment

Visual Studio Code is a source-code editor made by Microsoft for Windows, Linux, and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git.

Runtime Environment

Node.js is an open-source, cross-platform, JavaScript runtime environment. It executes JavaScript code outside of a browser.

JavaScript Libraries

The following libraries provide flexibility to automate slow, and redundant workflows efficiently.

Kit Solution Source

Candy Crush game created using this kit isadded in this section. The entire solution is available as a package to download from the source code repository.

Troubleshooting

1. While running batch file, if you encounter Windows protection alert, select More info --> Run anyway 2. During kit installer, if you encounter Windows security alert, click Allow 3. While executing 'start http://localhost:3000 && gulp start' command, if you encounter browser-sync issue, go to default-config.js file, which will be under node_modules\browser-sync\dist directory and set property open to false without any quotes. 4. While running batch file, if you encounter npm not recognized error, re-run the batch file. 5. If you face any issues while running the candy crush app, reduce the node version to 10.24.1

Support

If you need help to use this kit, you can email us at kandi.support@openweaver.com or direct message us on Twitter Message @OpenWeaverInc.
  • © 2022 Open Weaver Inc.