punchtop is an audio game that runs a power hour using music on the local file system and streams to a Chromecast device.
A power hour is a (drinking) game. During each 60-second round, a song is played. A change in music marks each new round.
To run punchtop, you must build it from source. Punchtop depends on:
- nightly rust, which you can install using rustup
- node
- yarn
After you have installed the build dependencies, you can launch punchtop with debug logging via cargo:
RUST_BACKTRACE=1 PUNCHTOP_LOG=cast-client=debug,punchtop=debug,rocket=info cargo run
or in a release build:
cargo build --release
PUNCHTOP_LOG=info caffeinate -s ./target/release/punchtop-webview
- Media directory may only be selected by modifying the source.
- Chromecast device may only be selected by modifying the source.
- App does not prevent system sleep via idle timeout.
- [macOS] App does not shut down cleanly on quit.
- [macOS] App does not shut down cleanly on SIGINT.
- [macOS] App does not exit on game completion until webview has user activity.