A fun cooking game where you drag and drop ingredients to create recipes! Built with Phaser.js.
- Install dependencies:
npm install
- Create an
assets
folder in the root directory and add the following images:
- lettuce.png
- tomato.png
- cucumber.png
- dough.png
- cheese.png
- bread.png
- recipe-zone.png
- Start the game:
npm start
- Open your browser and navigate to
http://localhost:8000
- A recipe will be displayed at the top of the screen
- Drag ingredients from the top bar into the recipe zone
- When you've added all the required ingredients in any order, you'll complete the recipe and earn points
- A new recipe will be generated for you to make
- Drag and drop interface
- Multiple recipes to complete
- Score tracking
- Simple and intuitive gameplay