This project is a JavaScript game called "Gold Miner" where players control a miner to collect gold while avoiding rocks. It features dynamic gameplay elements and interactive controls.
To install and run the game locally, follow these steps:
- Clone this repository to your local machine.
- Open the index.html file in your preferred web browser.
Once the game is loaded, use the left and right arrow keys to move the miner. The objective is to collect as much gold as possible while avoiding rocks. Each collected gold increases the player's score, while colliding with rocks decreases the player's lives. The game ends when the player runs out of lives.
Contributions to this project are welcome. If you have any suggestions or improvements, feel free to open an issue or submit a pull request.
Special thanks to the creators of the images used in the game: miner.png, gold.png, and rock.png.
Future updates to this project may include additional gameplay features, improved graphics, and optimizations for performance.
This project is licensed under the MIT License - see the LICENSE file for details.