updated flexible TTT to show board legend