title: Check for tic-tac-toe
body: <p>I'm trying to create a python tictactoe game on a raspberry pi using the sense hat. I have a list that creates the board. I need to find if the list contains 3 rows of rd (the b is turned to rd or (100,100,100)). Does anyone know how I would search the list to see if the columns contain all red(rd) or blue(bl)?</p>
  
  <pre><code>   board = [
          b, b, a, b, b, a, b, b,
          b, b, a, b, b, a, b, b,
          a, a, a, a, a, a, a, a,
          b, b, a, b, b, a, b, b,
          b, b, a, b, b, a, b, b,
          a, a, a, a, a, a, a, a,
          b, b, a, b, b, a, b, b,
          b, b, a, b, b, a, b, b,
     ]
  </code></pre>
  
  <p>I'm using this to fill the LED's on the Sense HAT, each time the player presses down on the joystick it fills a plot on the grid. </p>