(colIndex)
| 24 | |
| 25 | // Take in column index, returns the bottom row that is still white |
| 26 | function checkBottom(colIndex) { |
| 27 | var colorReport = returnColor(5,colIndex); |
| 28 | for (var row = 5; row > -1; row--) { |
| 29 | colorReport = returnColor(row,colIndex); |
| 30 | if (colorReport === 'rgb(255, 255, 255)') { |
| 31 | return row |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | // Check to see if 4 inputs are of the same color or not |
| 37 | function colorMatchCheck(one,two,three,four){ |
no test coverage detected