Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Candy Crush Game

This repository contains an implementation of the classic Candy Crush game using HTML, CSS, and JavaScript. The game boasts a responsive user interface with an 8x8 candy grid, dynamic candy generation, and interactive controls.

Features

  • Basic Layout: Employed HTML, CSS, and Bootstrap to design the game board and create intuitive candy movement controls.

  • Adding Basic Behavior: Implemented fundamental user interaction, generating a new game board on button click, and allowing candy movement using arrow buttons based on game rules.

  • Adding Basic Input Check: Improved usability with input verification, enabling/disabling movement buttons based on valid input and move directions, and enhancing visual cues for enabled buttons.

  • Crush Once Button: Introduced a Crush Once button that removes crushable candies with a 500ms delay.

Usage

  1. Open Candy Crush in a web browser to launch the game.
  2. Click the "New Game" button to initiate a new game.
  3. Use the text field to select candies and the arrow keys to move candies.
  4. Press the "Crush Once" button to remove crushable candies.

Credits

This project was created as part of a programming assignment. The core game logic is implemented in the provided board.js and rules.js files.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages