NetLogo banner

Home
Download
Help
Resources
Extensions
FAQ
NetLogo Publications
Contact Us
Donate

Models:
Library
Community
Modeling Commons

Beginners Interactive NetLogo Dictionary

User Manuals:
Web
Printable
Chinese
Czech
Farsi / Persian
Japanese
Spanish

  Donate

NetLogo User Community Models

(back to the NetLogo User Community Models)

[screen shot]

Download
If clicking does not initiate a download, try right clicking or control clicking and choosing "Save" or "Download".

Try It in NetLogo Web

# MedSim

MedSim is a medieval simulation that brings two sides of armies that consist of knights.

### THE WAY IT WORKS

Each side tries to take over all of the other side's settlements (patches) and eliminate other armies knight. Each settlement produces a resource and according to the chosen reinforcement threshold rate, each side will spawn a knight if resources are higher than the threshold rate.

### PARAMETERS

blue/red_knights
It controls how many knights will spawn initially

strike_chanceof_red/blue
This parameter will change the chance of a knight whether kill or miss the rival knight.

blue/red_reinforcement_threshold
This parameter will control the reinforcement.

blue/red_lineof_sight
This parameter controls the line of sight of a knight.

map_layout
For now, this simulation includes four map layouts which are:

#### simple
It is simple, two sides with equal resources.
#### randomized
Each side will have randomized settlements
#### middleground
The red will spawn in the middle of the map.
#### edge_lines
The red will spawn in four lines which close to the edges of the map

### THINGS TO NOTICE

The lower the reinforcement threshold gets, the more knight will spawn on the losing side.

If the line of sight increases, the fight zones will decrease. Meaning that knights' formation will be less loose on fights. Another thing, with the increment of the line of sight, knights more willingly go after the enemy knights instead of capturing settlements.

#

Thanks to Korhan KARABULUT for the teachings of this lecture.

_Berkay ERGÄ°N_

berkay.ergin@hotmail.com.tr

(back to the NetLogo User Community Models)