This PR adds the bonus_points property to block view and uses it in Matching Pairs as the starting value for the total score through the newly added block slice in the zustand store.
Additionally, the MatchingPairs component has been converted to TypeScript along with adding interfaces and types and slightly improving the component use of the index, which was ambiguously seen and used as a string and number.
This PR adds the
bonus_points
property to block view and uses it in Matching Pairs as the starting value for the total score through the newly added block slice in the zustand store.Additionally, the
MatchingPairs
component has been converted to TypeScript along with adding interfaces and types and slightly improving the component use of theindex
, which was ambiguously seen and used as astring
andnumber
.Resolves #1165