-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
185 lines (141 loc) · 6.95 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<html>
<head>
<title>Your game idea is too big</title>
<script type="text/javascript">
function estimate(form) {
var budget = 1000;
for (var i=0; i < form.elements.length; i++) {
if (form.elements[i].checked == true) {
budget = budget * form.elements[i].value;
}
}
budget = Math.round(budget);
// format estimate
var formatted_budget = budget.toString();
formatted_budget = formatted_budget.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,");
document.getElementById("estimate").innerHTML = "<p>Estimate: $" + formatted_budget + "</p>";
var solo_time;
var solo_units;
if (budget >= 50000) {
solo_time = Math.round(budget / 50000).toFixed(1);
solo_units = "years";
}
else if (budget >= 4000) {
solo_time = Math.round(budget / 4200).toFixed(1);
solo_units = "months";
}
else {
solo_time = Math.round(budget / 1000).toFixed(1);
solo_units = "weeks";
}
var descr = "<p>You could hire a team to make it for that price. Or you could make it yourself in about " + solo_time + " " + solo_units + "</p>";
document.getElementById("description").innerHTML = descr;
}
</script>
<style>
body {text-align: center; margin-top: 50px; font-family: helvetica, arial, sans-serif;}
h1 {font-size: 32pt; text-align: center; text-shadow: 0px 1px 0px rgba(255,255,255,.5);}
#content {width: 600px; text-align: left; margin: 0 auto; border-radius: 10px; background-color: #dddddd; padding: 20px;}
form {margin-left: 100px;}
#estimate {text-align: center; font-size: 32pt; color: #ff0000; text-shadow: 0px 1px 0px rgba(255,255,255,.5);}
#description {text-align: center; color: #666666;}
#footer {color: #999999; font-size: 8pt;}
#footer a {color: #6666ff;}
#left_ads {float: left;}
#right_ads {float: right;}
#advice {font-size: 9pt; text-align: center;}
</style>
</head>
<body>
<div id="left_ads">
<iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=pfu-20&o=1&p=8&l=as4&m=amazon&f=ifr&ref=ss_til&asins=0735619670" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
<br />
<iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=pfu-20&o=1&p=8&l=as4&m=amazon&f=ifr&ref=ss_til&asins=020161622X" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</div>
<div id="right_ads">
<iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=pfu-20&o=1&p=8&l=as4&m=amazon&f=ifr&ref=ss_til&asins=1435457420" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
<br />
<iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=pfu-20&o=1&p=8&l=as4&m=amazon&f=ifr&ref=ss_til&asins=1568814135" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</div>
<div id="content">
<h1>Your game idea is too big</h1>
<p>
Tell me about your game!
</p>
<form action="">
<input type="checkbox" name="feature" id="start" value="1.0" checked="checked" disabled="disabled"/>
<label for="start">Ok, so it's this game with ...</label>
<br />
<input type="checkbox" name="feature" id="threedee" value="4.2" onclick="estimate(this.form);" />
<label for="threedee">State of the art Visuals!</label>
<br />
<input type="checkbox" name="feature" id="openworld" value="7.6" onclick="estimate(this.form);" />
<label for="openworld">Vast, Open World to explore!</label>
<br />
<input type="checkbox" name="feature" id="mmo" value="12.0" onclick="estimate(this.form);" />
<label for="mmo">Massively Multiplayer Online (MMO)!</label>
<br />
<input type="checkbox" name="feature" id="fps" value="3.5" onclick="estimate(this.form);" />
<label for="fps">First Person Shooter (FPS) mechanics!</label>
<br />
<input type="checkbox" name="feature" id="rts" value="3.2" onclick="estimate(this.form);" />
<label for="rts">Real-Time Strategy (RTS) mechanics!</label>
<br />
<input type="checkbox" name="feature" id="fighting" value="2.8" onclick="estimate(this.form);" />
<label for="fighting">Melee Combat or Fighting Game mechanics!</label>
<br />
<input type="checkbox" name="feature" id="driving" value="2.4" onclick="estimate(this.form);" />
<label for="driving">Vehicles and Driving!</label>
<br />
<input type="checkbox" name="feature" id="rpg" value="1.8" onclick="estimate(this.form);" />
<label for="rpg">RPG Elements! Lots of stats and upgrades!</label>
<br />
<input type="checkbox" name="feature" id="puzzle" value="1.2" onclick="estimate(this.form);" />
<label for="puzzle">Puzzle or Platforming Elements!</label>
<br />
<input type="checkbox" name="feature" id="creation" value="2.0" onclick="estimate(this.form);" />
<label for="creation">Fully customizable Character Creation!</label>
<br />
<input type="checkbox" name="feature" id="classes" value="3.0" onclick="estimate(this.form);" />
<label for="classes">Many distinct Classes or Characters to choose!</label>
<br />
<input type="checkbox" name="feature" id="crafting" value="1.2" onclick="estimate(this.form);" />
<label for="crafting">Deep Crafting System!</label>
<br />
<input type="checkbox" name="feature" id="pve_pvp" value="2.4" onclick="estimate(this.form);" />
<label for="pve_pvp">Both PVE and PVP Gameplay!</label>
<br />
<input type="checkbox" name="feature" id="story" value="4.5" onclick="estimate(this.form);" />
<label for="story">Hours and hours of Campaign Story Mode!</label>
<br />
<input type="checkbox" name="feature" id="procedural" value="2.6" onclick="estimate(this.form);" />
<label for="procedural">Procedural generation for endless replayability!</label>
<br />
<input type="checkbox" name="feature" id="dialog" value="1.5" onclick="estimate(this.form);" />
<label for="dialog">Branching Dialog Trees with novels of text!</label>
<br />
<input type="checkbox" name="feature" id="vox" value="1.2" onclick="estimate(this.form);" />
<label for="vox">Quality Voice Acting for every line!</label>
<br />
<input type="checkbox" name="feature" id="mods" value="1.5" onclick="estimate(this.form);" />
<label for="mods">Modding Tools for the community!</label>
<br />
<input type="checkbox" name="feature" id="platforms" value="1.5" onclick="estimate(this.form);" />
<label for="platforms">Available on all Major Platforms!</label>
<br />
</form>
<div id="estimate">
<p>Estimate: $1,000</p>
</div>
<div id="description">
<p>You could hire a team to make it for that price. Or you could make it yourself in about 1 week.</p>
</div>
<p id="advice">
<a href="advice.html">But...!</a>
</p>
</div>
<div id="footer">
<p>figures completely made up by <a href="http://clintbellanger.net/rpg/">Clint Bellanger</a>, who should be working on his game (which is too big)</p>
</div>
</body>
</html>