Virtual Life App with Plan Builder
Copy your Virtual Life app project to a new git repository for the starting point
Feature Specification
- Create a random world plan builder
- The builder will create a string in the same format as world.toString()
- The world will be initialized with the world plan
Code Design
- Create a world builder object in an world-builder.js script file
- Add the following methods
- buildWorldPlan() - Will build and return a random world plan string
- Takes the number or rows and the number of columns
- Convert the world object into a prototyped object
- The constructor of the world object takes a world plan string
- Create a link to your world-builder.js script file
- Initialize the world with a random world plan before calling animate world