Skip to content
Artificially intelligent rock paper scissors player.
C C++ Python Other Processing Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
bot
lib
src
util
.gitignore
.travis.yml
Leap.py
Leap.pyc
LeapPython.so
README.md
leaptest.py
libLeap.dylib
platformio.ini
requirements.txt
roshambot.py
run
runtest
scoreboard.py

README.md

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. ¯_(ツ)_/¯
You can’t perform that action at this time.