Navigation Menu

Skip to content

MoonshotLab/RoShamBot

Repository files navigation

RoShamBot

Artificially intelligent rock paper scissors player. Read more here.

Alt text

Requirements

Do tha thang

  • Upload the sketch in bot/bot.ino to your Arduino.
  • source run

Weirdness

  • Servos and NeoPixels don't play nicely together. Using Adafruit's TiCoServo library solved lots of my problems. For more info, read this.
  • Keep src/main.cpp and bot/bot.ino in sync. Platformio uses the prior and the Arduino IDE uses the latter. At some point Platformio stopped uploading the sketch so it's currently just being used to get port info and other config settings to pass to the Python script. In theory, you shouldn't have to manually upload to the Arduino. ¯_(ツ)_/¯