This project is a simple implementation of the classic Bomberman game using HTML5 Canvas. It provides a basic framework for a one-player game with player-controlled and AI-controlled characters.
- Grid-based game layout
- Player-controlled character with bomb placement
- AI-controlled character with basic movement and bomb placement logic
- Soft walls that can be destroyed by bombs
- Basic explosion effects
- Clone the repository:
git clone https://github.com/your-username/bomberman-html-game.git
- Open index.html in a web browser to play the game.
- Use arrow keys or WASD to move the player character.
- Press the spacebar to place a bomb.
- The AI-controlled character will automatically make moves and place bombs.
Feel free to customize and expand the game by adding new features, improving AI logic, or enhancing the graphical assets.
Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch: git checkout -b feature/your-feature.
- -Commit your changes: git commit -m 'Add some feature'.
- Push to the branch: git push origin feature/your-feature.
- Open a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- This game is inspired by the classic Bomberman game.
- This projetc is based on https://gist.github.com/straker/769fb461e066147ea16ac2cb9463beae