-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.TXT
More file actions
executable file
·34 lines (29 loc) · 1.08 KB
/
README.TXT
File metadata and controls
executable file
·34 lines (29 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
A predator-prey simulation involving predators and prey in
=======
A predator-prey simulation involving animals and plants in
>>>>>>> 20fb6cf9bff2be67401efaf358160abab0bda654
=======
A predator-prey simulation involving animals and plants in
>>>>>>> 20fb6cf9bff2be67401efaf358160abab0bda654
=======
Project: predator and prey simulation
Authors: Reibjok Othow and Kwan Yui Chiu
This project is part of the material for chapter 10 of the book
Objects First with Java - A Practical Introduction using BlueJ
Sixth edition
David J. Barnes and Michael Kölling
Pearson Education, 2016
A predator-prey simulation involving animals and plants in
>>>>>>> 702ec0da1358eb2c3f73b757bc2bb3d6453a5600
an enclosed rectangular field.
This is the first version of the simulation. This version
does not use inheritance.
How to start:
Create a Simulator object.
Then call one of:
+ simulateOneStep - for a single step.
+ simulate - and supply a number (say 10) for that many steps.
+ runLongSimulation - for a simulation of 500 steps.