happymatch-dedyrahmadani80
Version:
This project is a simple, web-based implementation
27 lines (15 loc) • 1.89 kB
Markdown
## Happy Match
This project is a simple, web-based implementation of the popular match-3 puzzle game genre, inspired by the likes of "Candy Crush". It utilizes vanilla JavaScript to create a grid of colored blocks, which players can match in lines of three or more to score points. The game dynamically generates a grid filled with randomly colored blocks and includes basic mechanics for matching, eliminating, and refilling the grid.
### Features
- Dynamic grid generation: A flexible grid size that can be easily adjusted to change the difficulty level or gameplay style.
- Colorful interface: Utilizes a set of five different colors to create an engaging and visually stimulating experience.
- Basic match detection: Includes horizontal and vertical match detection algorithms to identify groups of three or more blocks.
- Block elimination and refill: Automatically eliminates matched blocks and refills the grid with new, randomly colored blocks.
### Installation
To run this game, simply clone the repository to your local machine. No additional setup or dependencies are required. Open the `index.html` file in your preferred web browser to start the game.
### Usage
Once the game is running in your browser, you will see a grid filled with colored blocks. The current version requires manual refreshing to simulate player moves and match detection. Future versions will include interactive player controls.
### Contributing
Contributions to "Happy Match-3" are welcome. If you have ideas on how to improve the game or add new features, feel free to fork the repository and submit a pull request.
### Acknowledgments
This game is a basic implementation designed to demonstrate fundamental JavaScript capabilities in game development. It is intended for educational purposes and as a starting point for more complex game development projects.