L4 - Exercise 2: Probabilistic CA

  • Due Jul 9, 2019 at 4:30pm
  • Points 1
  • Questions 1
  • Available Jul 9, 2019 at 1pm - Jul 9, 2019 at 4:30pm 3 hours and 30 minutes
  • Time Limit None
  • Allowed Attempts Unlimited

Instructions

Clone the CMPM147 git repository (Links to an external site.) and expand the  "L4 - Cellular Automata/game" sketch  to have the following probabilistic rules:

  • Overpopulation: If the cell has four or more alive neighbors, it has a 80% chance of dying.
  • Loneliness: If the cell has one or fewer alive neighbors, it has a 60% chance of dying.
Only registered, enrolled users can take graded quizzes