StarBattle Solver is a React-based web application designed for solving StarBattle puzzles.
- Interactive puzzle board.
- Automatic and user-guided puzzle solving.
- Support for various puzzle sizes and difficulties.
- Responsive design, compatible with various devices and screen sizes.
- React: A JavaScript library for building user interfaces.
- Material-UI (MUI): A popular React UI framework offering a comprehensive suite of UI tools.
- Yarn Zero-Install: Ensures all dependencies are included with the source code, enabling immediate installation and execution without needing to download packages from the internet.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Yarn (Version 1.x or later)
- Node.js (Version 12.x or later)
-
Clone the repository:
git clone https://github.com/dtan3847/starbattle-solver.git
-
Navigate to the project directory:
cd starbattle-solver
-
Since this is a Yarn Zero-Install project, all dependencies are already included. Simply start the application:
yarn start
This will launch the app in development mode. Open http://localhost:3000 to view it in the browser.
In draw mode, click and drag to draw walls. Use the size and star count sliders to adjust size. Use "Mode: Draw" to toggle modes. In solve mode, you can solve manually, or let the computer solve for you. Use "Show next step" to show one possible step to make progress in the puzzle. Use "Apply next step" to automatically fill those cells. Use "Auto solve" to fill in the entire puzzle (Warning: may take some time). The "Save puzzle" and "Load puzzle" can be used to save the progress of a puzzle. Currently, only one puzzle can be saved.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under AGPL-3.0. See LICENSE
for more information.
Your Name โ [email protected]
Project Link: https://github.com/dtan3847/starbattle-solver