-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
81 lines (72 loc) · 3.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ye Olde Character Creator</title>
<link rel="shortcut icon" href="http://dapperdesign.me/charactercreator/favicon.ico" type="image/x-icon">
<link rel="icon" href="http://dapperdesign.me/charactercreator/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Oswald:300,700|Roboto:300,500,900|Covered+By+Your+Grace|Aladin" rel="stylesheet">
<meta property="og:image" content="img/yeolde_meta.jpg" />
</head>
<body>
<div class="container">
<div class="contents">
<h3>Ye Olde</h3>
<h1>Character Creator</h1>
<div class="copy">
<div id="parentStatDiv">
<div class="stat">
<number class="statNumber">
</number><br> STR
</div>
<div class="stat">
<number class="statNumber">
</number><br> DEX
</div>
<div class="stat">
<number class="statNumber">
</number><br> CON
</div>
<div class="stat">
<number class="statNumber">
</number><br> INT
</div>
<div class="stat">
<number class="statNumber">
</number><br> WIS
</div>
<br style="clear: left;" />
</div>
<p>
<div id="characterGen"></div>
</p>
</div>
<a href="index.html"><button class="button">Roll Another Character</button></a>
</div>
<div class="outline">
<a onclick="printMe()">
<strong>You can print this page.</strong></a><br>I'm designed to be easy on the inkjet.
<br><br>
<button id="toggleList" class="medium">Show Dev Notes</button>
<div class="list">
This simple fantasy character generator was made with JavaScript.
<br><br>
<strong>Roll The Dice</strong><br> I've generated the skill numbers for each by rolling four 6 sided die and taking the best value, of the four dice.
<br><br>
<strong>Who Are You?</strong><br> My code knows if you've been assigned as a male or female. It assigns your first name to reflect your gender. Last names are shared by both genders.
<br><br>
<strong>Culture</strong><br> The also knows what race you are and assigns the appropriate homeland and name to you (it'd be weird if you were a human named Robert Redford from the Misty Mountains).
</div>
</div>
<div class="code">
<a href="http://dapperdesign.me/charactercreator/js/characterGenerator_1.0.js" target="_blank">Click to see the JavaScript code here.</a>
</div>
</div>
<p></p>
Find this app on <a href="https://github.com/ohbretterson/characterCreator/">GitHub</a> and make it better!
<script type="text/javascript" src="js/characterGenerator_1.0.js"></script>
</body>
</html>