/pewreview-driver

Get someones attention for pull requests in the most inefficient and intimidating way possible (GitHub hook pending).

Primary LanguagePython

pewreview-driver

This is a driver for the Dream Cheeky USB Missile Launcher. I just really want to shoot my boss when I open a pull request. If he becomes too quick I'm giving this puppy vision.

Requirements

Dream Cheeky USB Missile Launcher

Setup

Install the requirements via pip.

pip install -r requirements.txt

Usage

Driver Demo

This would only be to show off what the launcher can do. This is the core driver that has a main function to demo.

python launcher.py

Server

sudo python server.py --port 31337

Client

Each token of a command line is formatted as follows <command> [,<sleep in nanoseconds/number of missiles>]. The number is optional for FIRE and RESET

Commands

  • FIRE [,<number of missiles]
  • UP, DOWN, LEFT, RIGHT
  • RESET - Reset hardware state (stop whatever command is running)
python client.py --port 31337 CMD[,<sleep in nanoseconds/number of missiles>]

All Together

  1. Plug in launcher and ensure the computer sees it.
  2. Start your server python server.py --port 31337.
  3. Send a command stream to the launcher via client python client.py --port 31337 UP,2000 LEFT,1000 FIRE,3.
  4. Assert geek dominance and profit.