A text-based game that takes the user trough a labyrinth. Built with React Redux using Thunks to fetch the API wich stores the game information and tracks the user history. Created during mob-programming.
We started with setting up our reducers in React Redux with the help of Redux Toolkit. With this set we started to create our components and to fetch data from the game API via a Thunk. We got the basic functionality to work, which was to show only in text where the user was and what options they had at the current time. We decided to try out Material UI for the styling, with styled components as a complementary tool. We decided to save the user's history in the redux store so we could use that to display a visual map of where they had gone. We use Lottie player to include an animation in the map, indicating where on the map the user is at the current time.