Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1012 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 1012 Bytes

Sequence Winner Announcer

The game board:

What the computer sees and displays:

What?

This program detects and announces winning moves for the board game Sequence.

Why?

My family would commonly play past the end of the game because we wouldn't notice someone won.

How?

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.)

Caveats

  • 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.