forked from benjaminaaron/KiyotakiWrightHazlettExperiment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
114 lines (108 loc) · 4.16 KB
/
index.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!doctype html>
<html>
<head>
<title>Kiyotaki Wright Hazlett Experiment</title>
<meta charset='UTF-8'>
<meta name="author" content="Benjamin Aaron Degenhart, Daniel Jadanec">
<meta name="description" content="Kiyotaki Wright Hazlett Experiment Simulation">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<h1>Kiyotaki Wright Hazlett Experiment</h1>
<br>
<hr>
<div>
<input type="text" id="numbPersonsTxt" value="24" size="4"/>
Anzahl Personen
<br>
<input type="text" id="numbRoundsTxt" value="10" size="4"/>
Anzahl Runden
<hr>
<i>Vordefinierte Einstellungen </i>:
<select id="presetsSelector" onchange="presetsSelectorChanged()">
<option value="strict">Standard: Striktes Nutzenorientiertes Handeln</option>
<option value="stubborn">Stur: Nur bei seinem notwendigen Konsumgut handeln</option>
<option value="strategic">Strategisch: Akzeptiere Güter die von dem Typ konsumiert werden, der das eigen
benötigte Konsumgut herstellt
</option>
<option value="social">Sozial: Striktes Nutzenorientiertes Handeln mit einer 25% Chance jemanden
entgegenzukommen
</option>
<option value="equilibrium">Gleichgewicht: Gleiche Lagerkosten, akzeptiert jeden Handel</option>
<option value="random">Zufällig: Zufällig verteilte Werte(mit angemessenen Grenzen)</option>
</select>
<hr>
<input type="text" id="storageAtxt" value="1" size="4"/>
Lagerkosten für Brot
<br>
<input type="text" id="storageBtxt" value="4" size="4"/>
Lagerkosten für Getreide
<br>
<input type="text" id="storageCtxt" value="9" size="4"/>
Lagerkosten für Mehl
<br>
<input type="text" id="startPointsTxt" value="40" size="4"/>
Anfangspunktzahl
<br>
<input type="text" id="consumeBonusTxt" value="20" size="4"/>
Konsumbonus
</div>
<hr>
<h3>Wahrscheinlichkeiten einen Handel zu akzeptieren</h3>
<div>
Der <b>Bauer</b> <font color="gray">konsumiert Brot und produziert Getreide</font>
<font color="green">(<b>Getreide » Mehl » Brot </b> oder <b>Mehl » Brot</b>)</font>
<br>
Akzeptiert Brot
<input type="text" id="probType1acceptsA" value="1" size="4"/>
Getreide
<input type="text" id="probType1acceptsB" value="0" size="4"/>
Mehl
<input type="text" id="probType1acceptsC" value="0" size="4"/>
<br><br>
Der <b>Müller</b> <font color="gray">konsumiert Getreide und produziert Mehl</font>
<font color="green">(<b>Mehl » Brot » Getreide </b> oder <b>Brot » Getreide</b>)</font>
<br>
Akzeptiert Brot
<input type="text" id="probType2acceptsA" value="1" size="4"/>
Getreide
<input type="text" id="probType2acceptsB" value="1" size="4"/>
Mehl
<input type="text" id="probType2acceptsC" value="0" size="4"/>
<br><br>
Der <b>Bäcker</b> <font color="gray">konsumiert Mehl und produziert Brot</font>
<font color="green">(<b>Brot » Getreide » Mehl </b> oder <b>Getreide » Mehl</b>)</font>
<br>
Akzeptiert Brot
<input type="text" id="probType3acceptsA" value="1" size="4"/>
Getreide
<input type="text" id="probType3acceptsB" value="0" size="4"/>
Mehl
<input type="text" id="probType3acceptsC" value="1" size="4"/>
</div>
<hr>
<h3>
Wahrscheinlichkeit auf Entgegenkommen
</h3>
<div>
<b>Bauer</b>
<input type="text" id="propTyp1nice" value="0" size="4"/>
<br>
<b>Müller</b>
<input type="text" id="propTyp2nice" value="0" size="4"/>
<br>
<b>Bäcker</b>
<input type="text" id="propTyp3nice" value="0" size="4"/>
</div>
<hr>
<input type="submit" value="Starte Simulation" id="runSimBtn"/>
<small> Ausgabe jede Runde:</small>
<input type="checkbox" checked="checked" id="loggingCheckbox"/>
<br>
<font color="silver" size="1">Seite neuladen zum neustarten</font>
<script src="js/utils.js" type="text/javascript" charset="utf-8"></script>
<script src="js/script.js" type="text/javascript" charset="utf-8"></script>
<script src="js/vendors/notie.js" type="text/javascript" charset="utf-8"></script>
<script src="js/main.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>