Python Coding Question Using Zelle Graphics And OOPs
Budget: $30 – $250 USD
The program should:
create a rectangular grid of trees 15 wide by 10 high
provide a text box in which the user can enter the probability of fire spreading. This input should be validated
provide a button to start the fire in a random location
provide a button to reset the simulation to an unburned forest
provide another button to start the fire in a location clicked by the user
provide a button to quite the program
The program should:
Use discrete time steps. At each same step, the program should compute where the fire is, or will be moving to. Once that is done, the program should update, the program should update the burn state of all trees at once.
Use 4 separate burn states (shown below) for each tree: unburned, some fire, lots of fire, and charred. Charred trees are not on fire, and cannot be re-ignited. When a tree start burning, it advances one burn state at each time step until it reaches charcoal. Files for these images are linked on this page.
0)0_tree.png
1)1_little_burn.png
2)2_lot_burn.png
3)3_charcoal.png
create a rectangular grid of trees 15 wide by 10 high
provide a text box in which the user can enter the probability of fire spreading. This input should be validated
provide a button to start the fire in a random location
provide a button to reset the simulation to an unburned forest
provide another button to start the fire in a location clicked by the user
provide a button to quite the program
The program should:
Use discrete time steps. At each same step, the program should compute where the fire is, or will be moving to. Once that is done, the program should update, the program should update the burn state of all trees at once.
Use 4 separate burn states (shown below) for each tree: unburned, some fire, lots of fire, and charred. Charred trees are not on fire, and cannot be re-ignited. When a tree start burning, it advances one burn state at each time step until it reaches charcoal. Files for these images are linked on this page.
0)0_tree.png
1)1_little_burn.png
2)2_lot_burn.png
3)3_charcoal.png