The only issue is what should be put in the second flexbox item: the piece table, or just a list (as <ul> or <p>). E.g. we could add a parameter flexbox=X, where X could be T, U or P depending on what we want to display next or under the board.
Since it is not all shown at once, I put everything except the diagram in the second flex item. The displayPieces parameter I added to betzaFlex.js is used to determine whether it will immediately show the pieces table when loading the page. It is currently treated as a Boolean, but it could be employed to indicate whether to display the pieces as a table, list, or paragraph.
Since it is not all shown at once, I put everything except the diagram in the second flex item. The
displayPieces
parameter I added to betzaFlex.js is used to determine whether it will immediately show the pieces table when loading the page. It is currently treated as a Boolean, but it could be employed to indicate whether to display the pieces as a table, list, or paragraph.