if you do lookthoughprobably the best hint can give you is that the data structure used to represent board state is the crux of the matter that isif you understand the way boards are modeledthe rest of the code comes naturally for instancethe lists-based variant uses list-of-lists to represent the board' statealong with simple dictionary of entry widgets for the gui indexed by board coordinates clearing the board after game is simply matter of clearing the underlying data structuresas shown in this code excerpt from the examples named earlier complete gui programs