Add Redux
Please run yarn install
, or what-have-you, before testing. It will install @reduxjs/toolkit. Please see the tutorials.
- Track each level's number, doors, critters, and cages
- Use non-react-redux functions, such as store.dispatch, outside React components but the React app store can still be set in index.tsx
- Trigger an action when a door is unlocked
- Set the level whenever it is loaded
- Reset the door data when a level is reloaded
- Add captivity objects as critters and cages are loaded and remove them as they are released
- See the code UML for the Redux Store diagram
Edited by Spencer Williams