Goal: Use closures to store state. Practice using composition to add functionality to objects. Focus on testing your applications thoroughly and keeping your business logic functional.
Follow along with the homework to build an application for growing plants. Make sure to include tests, to separate your logic, and to use webpack. Once you have completed the example shown in the coursework, try adding the following functionality.
Add functionality to create multiple plants. Remember that we can use closures to store state about different objects.
Add functionality so different plants have different abilities. Use composition to add these abilities.
Build out a fully functioning game where users can feed their plants. This could include a UI, special powerups, and any creative functionality you might want to add!
Do not worry about implementing a UI. Focus on writing and testing functional code.