-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
114 lines (102 loc) · 5.87 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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="google-site-verification" content="X2IQhDCXYOzS3VVvN1dlf4-8spKGnTgug0gH_tOqfBM" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- <link href='https://css.gg/bot.css' rel='stylesheet'> -->
<link href='https://unpkg.com/[email protected]/icons/css/bot.css' rel='stylesheet'>
<link rel = "stylesheet" type = "text/css" href = "wordl.css">
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js'></script>
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script type = "text/javascript" src = "word_lists/allwords.js"></script>
<script type = "text/javascript" src = "word_lists/commonwords.js"></script>
<script type = "text/javascript" src = "word_lists/officialanswers.js"></script>
<script type = "text/javascript" src = "word_lists/officialguesses.js"></script>
<script type = "text/javascript" src = "word_lists/rankings.js"></script>
<script type = "text/javascript" src = "js/setup.js"></script>
<script type = "text/javascript" src = "js/class.js"></script>
<script type = "text/javascript" src = "js/main.js"></script>
<script type = "text/javascript" src = "js/bot.js"></script>
<script type = "text/javascript" src = "https://ybenhayun.github.io/general.js"></script>
<script type = "text/javascript" src = "../webpage/general.js"></script>
<title>WordleBot</title>
</head>
<body>
<div id="container">
<div id="top-of-screen">
<h1 id = 'title'></h1>
<button class="header-button test" onclick="setupTest();"><i class='gg-bot'></i></button>
<button class = "header-button open settings" onclick="createSettingsPage();"><i class="fa fa-gear"></i></button>
<button class="header-button open info" onclick="createInfoPage();"><i class='fa fa-info-circle'></i></button>
<!-- <button id="wordlebot" onclick="testStartingWords();">Run bot</button> -->
</div>
<div class="info screen"></div>
<div class="settings screen">
<button class="settings close"></button>
<h3 class = 'mini-header'>Choose Your Wordlength</h3>
<p class="description">We don't have to stick with 5 letters.</p>
<p>
Show me the best
<select name="word-length" id="word-length"></select>
letter words
</p>
<p>for a maximum of <select name="max-guesses" id="max-guesses"></select>
guesses.
</p>
<h3 class="mini-header">Choose Your Answers</h3>
<p class="description">Tell me what words you'd like to be considered as potential answers.</p>
<div>
<input type="checkbox" class="wordbank" id = 'restricted'>
<label for="restricted">Most Likely Answers</label>
<p class="description">The only words I'll consider as answers are those that are on the official answer list for Wordle, or some of its variants.</p>
<input type="checkbox" class="wordbank" id = 'complete'>
<label for="complete">All Possible Answers</label><br>
<p class="description">I'll consider all reasonable words as possible solutions.</p>
</div>
<h3 class="mini-header">Choose Your Bot</h3>
<p class="description">Which game are we playing? I can play several.</p>
<p>
Show me the best words for
<select name="bot-type" id="bot-type">
<option value="Wordle" class = "Wordle">Wordle</option>
<option value="Antiwordle" class = "Antiwordle">Antiwordle</option>
<option value="Xordle" class = "Xordle">Xordle</option>
<option value="Fibble" class = "Fibble">Fibble</option>
<option value="Warmle" class = "Warmle">Warmle</option>
<option value="Hardle" class = "Hardle">Hardle</option>
<option value="Woodle" class = "Woodle">Woodle/Word500</option>
<option value="W-Peaks" class = "W-Peaks">Wordle Peaks</option>
<option value="Thirdle" class = "Thirdle">Thirdle</option>
<option value="Dordle" class = "Dordle">Dordle</option>
<option value="Quordle" class = "Quordle">Quordle</option>
<option value="Octordle" class = "Octordle">Octordle</option>
<option value="Spotle" class = "Spotle">Spotle</option>
</select>
</p>
<p class="extra-settings"></p>
</div>
<div id="guesses">
<button id="refresh" onclick="resetPage();"><i class='fa fa-refresh'></i></button>
<input type="text" id = "word-entered">
<span id="hints" class = 'empty'>
</span>
<div id="next-previous-buttons"></div>
</div>
<div id="suggestions">
<h2 class="possibilities total"></h2>
<h3 class="possibilities separated"></h3>
<h3 class="mini-title"></h3>
</div>
<p class = 'links kofi'>
Like the bot? <a href="https://ko-fi.com/ybenhayun" target="_blank">Buy me a coffee!</a>
</p>
<p class="links github">
Do you code? Check out this repo on <a href="https://github.com/ybenhayun" target="_blank">Github</a>.
</p>
</div>
</body>
</html>