💡 Mirror Laser is a puzzle game where you guide the laser to its target by rotating mirrors.
Play in your browser:
Or download for desktop:
nvm:
brew install nvmClone the repository:
git clone https://github.com/remarkablegames/mirror-laser.git
cd mirror-laserInstall the dependencies:
npm installUpdate the files:
-
README.md -
index.html -
package.json -
public/*.png -
public/favicon.svg -
public/manifest.webmanifest -
src/main.ts
Update the environment variables:
cp .env .env.localUpdate the Secrets in the repository Settings.
In the project directory, you can run:
Runs the game in the development mode.
Open http://localhost:5173 to view it in the browser.
The page will reload if you make edits.
You will also see any errors in the console.
Builds the game for production to the dist folder.
It correctly bundles in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your game is ready to be deployed!
Builds the game and compresses the contents into a ZIP archive in the dist folder.
Your game can be uploaded to your server, itch.io, etc.
