+---+---+---+---+---+---+---+--- +---+---+---+---+---+---+---+--- +---+---+---+---+---+---+---+--- +---+---+---+---+---+---+---+--- +---+---+---+---+---+---+---+--- +---+---+---+---+---+---+---+--- +---+---+---+---+---+---+---+--- +---+---+---+---+---+---+---+--- +---+---+---+---+---+---+---+---source code of reversi reversi is mammoth program compared to our previous games it' over lines longbut don' worrymany of these lines are comments or blank lines to space out the code and make it more readable as with our other programswe'll first create several functions to carry out reversi-related tasks that the main section will call roughly the first lines of code are for these helper functionsand the last lines of code implement the reversi game itself