Skip to content

remarkablegames/lights-out

Repository files navigation

Lights Out

Lights Out

release build

💡 Lights Out is a game where you collect power-ups.

This game was made for Gamedev.js Jam 2024, in which the theme was power.

Play the game on:

Ideation

Prerequisites

Install

Clone the repository:

git clone https://github.com/remarkablegames/lights-out.git
cd lights-out

Install the dependencies:

npm install

Environment Variables

Set the environment variables:

less .env

Update the Secrets in the repository Settings.

Available Scripts

In the project directory, you can run:

npm start

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.

npm run build

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!

npm run bundle

Builds the game and packages it into a Zip file in the dist folder.

Your game can be uploaded to your server, Itch.io, Newgrounds, etc.

License

MIT