Pecamo / orbital

Orbital is a game designed to be played on LED strips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Orbital

Orbital is a game designed to be played on addressable LED strips, on any one dimensional array of lights.

Control a pixel and shoot others!

Install

Install npm packages:

npm install

Compile typescript:

npm run build

You can use a Raspberry Pi or an ESP to control some SK6812/ws2812b RGBW LED strips.

If you use a Raspberry Pi: Install and run the custom display server

If you use an ESP32 or ESP8266: Install and run WLED

Copy .env configuration:

cp .env.dist .env      # For Rpi-SK6812-ws2812b-RGBW-http-server
cp .env.dist.wled .env # For WLED

You may want to edit the .env file according to your network or preferences

Run

npm start

Docker

docker-compose build
docker-compose up

Invert the LED strip display:

npm start -- --invert

Systemd Services

Some services example are located in /services.
You can install them in /etc/systemd/system on your Raspberry Pi.
You may need to change them a bit depending on your configuration.

Develop

You can compile in watch mode with:

npm run watch

About

Orbital is a game designed to be played on LED strips

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 63.6%Language:Vue 26.9%Language:JavaScript 7.0%Language:CSS 1.1%Language:HTML 0.9%Language:Dockerfile 0.5%