thetawavegame / thetawave

A physics based, space shooter game made with Rust and the Bevy engine.
https://thetawave.metalmancy.tech
MIT License
163 stars 9 forks source link

Infer the arduino arcade serial port from available ports, falling back to an envvar #93

Closed varoonp123 closed 12 months ago

varoonp123 commented 1 year ago

We need to automate detecting this later or hoist this further to a CLI, but this is better than what we have right now. I think we will use a CLI with argh or clap to do some config options. #91 also uses a similar type of config option.

E.x. THETAWAVE_ARCADE_LIGHT_SERIAL_PORT_NAME=/dev/tty4 ./thetawave

This is all so that you don't need to edit the source code on arcade machine/ensures that we can deploy the exact code that we test.