https://github.com/vanhakobyan/desertsimulation
The desert is represented by a flat (2D) rectangle, as shown in Figure 1. The size (height and width) of the rectangle shall be specified by the user. The rectangle shall have a dark brown background color.
https://github.com/vanhakobyan/desertsimulation
grid wpf
Last synced: 6 months ago
JSON representation
The desert is represented by a flat (2D) rectangle, as shown in Figure 1. The size (height and width) of the rectangle shall be specified by the user. The rectangle shall have a dark brown background color.
- Host: GitHub
- URL: https://github.com/vanhakobyan/desertsimulation
- Owner: VanHakobyan
- Created: 2018-05-04T12:58:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-22T16:42:52.000Z (over 7 years ago)
- Last Synced: 2025-02-09T06:13:47.881Z (8 months ago)
- Topics: grid, wpf
- Language: C#
- Size: 483 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Coyotes and pocket mice have lifetimes after which they would die and hence
no longer exist in the desert. The lifetime indicates the number of iterations
that the animal can pass through before dying of natural causes.
Coyotes and pocket mice also have a starvation period, which indicates the
number of iterations that the animal can pass through without eating before it
dies. Similarly, animals have a dehydration period that they cannot exceed
without drinking. When an animal dies, it is replaced by an empty space.
Coyotes and pocket mice also have different gestation periods (number of
iterations) after which they will give birth to new coyotes and pocket mice.
When the end of a gestation period is reached, a new animal shall be created.
The newborn animal shall be randomly placed in one of the eight neighboring
cells. If none of these cells are empty, the newborn would die.### About :pencil2:
* Visual Studio Enterprise 2017 :closed_book:
* C# 7.0 .NET Framework 4.6 :notebook_with_decorative_cover: