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!
You've had a chance to solve Project Euler problems in Intermediate JavaScript. Now try coming up with functional solutions to some of these problems. Functional programming is often used for math and computation so this is a great way to get more practice with functional techniques.
Do not worry about implementing a UI. Focus on writing and testing functional code.