The board module ought to have at least two more functions -
move_is_valid(board, column) - Returns True if the column has space for more
checkers, False if not.
drop_token(board, column, color) - Puts a color piece in the columnith
column. Validity of move should be checked before hand with move_is_valid().
The board module ought to have at least two more functions -
move_is_valid(board, column)- ReturnsTrueif the column has space for morecheckers,
Falseif not.drop_token(board, column, color)- Puts acolorpiece in thecolumnithcolumn. Validity of move should be checked before hand with
move_is_valid().