Welcome to the Sokoban Game repository! This project is an implementation of the classic Sokoban puzzle game using Java. Sokoban is a popular puzzle game where the player pushes boxes around a maze to their designated storage locations.
- Classic Gameplay: Enjoy the traditional Sokoban puzzle-solving experience.
- Multiple Levels: Play through various challenging levels with increasing difficulty.
- Custom Levels: Create and play your own custom levels.
- Intuitive Controls: Use keyboard controls to navigate through the game.
To run the game locally, follow these steps:
-
Clone the repository:
git clone https://github.com/chandraparsad3/Sokoban.git cd Sokoban
-
Compile the source code:
javac -d bin src/com/chandraparsad3/sokoban/*.java
-
Run the game:
java -cp bin com.chandraparsad3.sokoban.Main
- Use the arrow keys to move the player.
- Push all the boxes to their target locations.
- Restart the level by pressing
R
.
Contributions are welcome! If you have suggestions for improvements or new features, feel free to create an issue or submit a pull request.
- Thanks to the open-source community for providing resources and inspiration.
- Special thanks to all contributors for their support and contributions.