This repository contains a web application for playing and creating Star Battle puzzles, built entirely with client-side technologies (HTML, CSS, and JavaScript). The application logic, including puzzle generation and solving, runs in your browser, making it fast and responsive.
You can play the live version instantly in your browser. No setup is needed.
While the application logic is fully client-side, modern web browsers have security policies (CORS) that restrict loading resources from the local file system. Therefore, to run the app locally, you must serve the files from the project’s Main
directory using a simple local web server.
Main
directory in your terminal. For example:
cd path/to/StarbattlesTools/Main
If you have Node.js and npm installed, you can use npx
to run a temporary server without installing any packages globally. This is a quick and modern approach.
npx serve
If you have Python installed, you can use its simple built-in web server.
python3 -m http.server
python -m SimpleHTTPServer
http://localhost:3000
for npx serve
or http://localhost:8000
for Python) in your browser to run the app.This repository also includes a MiscTools/
folder. This directory contains a collection of various scripts and utilities that are not part of the core puzzle application but may be useful for advanced users or for performing other interesting tasks. Feel free to explore them if you’re curious.