one item tuples need trailing comma converting between lists and tuples the global statementand why global variables are evil data structures and lists the --start game|animation the game loop the event handling loop checking which box the mouse cursor is over handling the first clicked box handling mismatched pair of icons handling if the player won drawing the game state to the screen creating the --revealed boxes|data structure creating the board data structurestep get all possible icons step shuffling and truncating the list of all icons step placing the icons on the board splitting list into list of lists different coordinate systems converting from pixel coordinates to box coordinates drawing the iconand syntactic sugar syntactic sugar with getting board space' icon' shape and color drawing the box cover handling the revealing and covering animation drawing the entire board drawing the highlight the --start game|animation revealing and covering the groups of boxes the --game won|animation telling if the player has won