The game board:
What the computer sees and displays:
This program detects and announces winning moves for the board game Sequence.
My family would commonly play past the end of the game because we wouldn't notice someone won.
This uses OpenCV to do the computer vision and Ruby to do the solving. (I'm a rubyist so this was the fastest way to write the solver for me.)
- The color profile is highly customized to my camera and will need to be adjusted if you really are trying to get this to work for yourself.
- It only works for Blue and Green pieces.
- The code needs refactored. It was written in a couple evenings so many hacks and copy/pastes were done.