- Description
- Stretch Goals
- Target Audience
- Component Tree
- State Shapes
- Installation
- Design and Development Technologies
- License
Redux Kitchen is an educational game that teaches the basic concepts of Redux: actions, reducers, the store, and how data flows in Redux.
Learners begin the game by taking over the day-to-day operation of a waffle shop. For each day's activities, they will learn to write Redux code as they complete each level.
Inherit store
Day Start: Dispatch one type of Action; Reducers: Cook Reducer
Day End: Add Switch Case for biscuits
Day Start: Goal: Dispatch multiple types of actions; Reducer: Cooked Reducer 2.0
Day End: Goal: Modify Reducer to accept quantity payload
Day Start: Goal: Dispatch actions with payload; Reducer: Cooked Reducer 3.0
Day End: Goal: Add pantry and kitchen reducers, buy ticket wheel
Goal: Dispatch actions to both reducers at once
Developers and students new to Redux. Prerequisites: Javascript, React (optional).
Level 1-3
state = {
Kitchen: {
waffles: 1,
strawberryWaffles: 2,
biscuits: 2
}
}
Level 4+
state = {
Kitchen: {
waffles: 1,
strawberryWaffles: 2,
biscuits: 2
},
Pantry: {
batter: 5,
strawberries: 7
}
}
state = {
userState: {
Kitchen: {
waffles: 1,
strawberryWaffles: 2,
biscuits: 2
},
Pantry: {
batter: 5,
strawberries: 7
}
},
userLevel: 1,
dayTime: true,
customerCount: 1
}
- Use your command terminal (gitbash if you're using a windows machine) to clone the latest commit from Github, using the url provided
- Open with a text editor such as Atom to view the code
- In your terminal run the command
npm install
- Then, run the command
npm run start
to view
- Javascript
- React-Redux
- HTML5 and CSS3
- Figma
Copyright (c) 2019 Aurora Shido-Wagenet, Kim McConnell, Ward Chamberlain, Randee Layosa, Tracy Reith