-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
107 lines (104 loc) · 6.18 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
<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7">
<![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8">
<![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9">
<![endif]-->
<!--[if gt IE 8]>
<html class="no-js">
<!--<![endif]-->
<html ng-app="wordleBotApp">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Wordle Bot</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body ng-cloak ng-controller="mainController">
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="container">
<div class="mt-4 p-5 bg-success text-white rounded">
<h1>Wordle Cheat Bot <i class="fa-solid fa-user-secret"></i></h1>
<p>Stuck on your Wordle puzzle? Use this tool to cheat!</p>
</div>
<div class="container pt-5">
<form class="mt-3 mb-3">
<div class="input-group">
<span class="input-group-text"><i class="fa-solid fa-square text-secondary"></i></span>
<input type="text" class="form-control" placeholder="Enter all incorrect letters" ng-model="grayString">
<span class="input-group-text" type="button" data-bs-toggle="tooltip" data-bs-placement="left" title="Letters only. No commas. No duplicates. Example: afejrszyi">
<i class="fa-solid fa-circle-info text-primary"></i>
</span>
</div>
</form>
<form class="mt-3 mb-3">
<div class=" input-group">
<span class="input-group-text"><i class="fa-solid fa-square text-success"></i> + <i class="fa-solid fa-square text-warning"></i></span>
<input type="text" class="form-control" placeholder="Enter all green/yellow letters" ng-model="greenYellowString">
<span class="input-group-text" type="button" data-bs-toggle="tooltip" data-bs-placement="left" title="Green and Yellow letters only, regardless of position. No commas. No duplicates. Example: rstlne">
<i class="fa-solid fa-circle-info text-primary"></i>
</span>
</div>
</form>
<div class="input-group mt-3 mb-3">
<span class="input-group-text"><i class="fa-solid fa-square text-success"></i></span>
<input type="text" class="form-control" placeholder="1" maxlength="1" ng-model="greenOne">
<input type="text" class="form-control" placeholder="2" maxlength="1" ng-model="greenTwo">
<input type="text" class="form-control" placeholder="3" maxlength="1" ng-model="greenThree">
<input type="text" class="form-control" placeholder="4" maxlength="1" ng-model="greenFour">
<input type="text" class="form-control" placeholder="5" maxlength="1" ng-model="greenFive">
<span class="input-group-text" type="button" data-bs-toggle="tooltip" data-bs-placement="left" title="Green letters by position. Only 1 letter per spot. Leave blank if a spot is not known/green.">
<i class="fa-solid fa-circle-info text-primary"></i>
</span>
</div>
<div class="input-group mt-3 mb-3">
<span class="input-group-text"><i class="fa-solid fa-square text-warning"></i></span>
<input type="text" class="form-control" placeholder="1" ng-model="yellowOne">
<input type="text" class="form-control" placeholder="2" ng-model="yellowTwo">
<input type="text" class="form-control" placeholder="3" ng-model="yellowThree">
<input type="text" class="form-control" placeholder="4" ng-model="yellowFour">
<input type="text" class="form-control" placeholder="5" ng-model="yellowFive">
<span class="input-group-text" type="button" data-bs-toggle="tooltip" data-bs-placement="left" title="Yellow letters by position. Multiple letters per spot allowed. Leave blank if a spot is not known/yellow.">
<i class="fa-solid fa-circle-info text-primary"></i>
</span>
</div>
</div>
<div class="container text-center mb-3 ng-cloak">
<button class="btn btn-primary" ng-click="getSuggestedWords()" ng-hide="buttonClicked">Submit</button>
<button class="btn btn-primary" ng-click="getSuggestedWords()" ng-show="buttonClicked">Regenerate</button>
</div>
<div class="container text-center text-break" ng-show="buttonClicked">
<h3 value="Possible Answers"></h3>
<p ng-bind="finalArray"></p>
</div>
</div>
<script src="" async defer></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/js/all.min.js"></script>
<script src="./words.js"></script>
<script src="./app.js"></script>
<script>
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
var tooltipList = tooltipTriggerList.map(function(tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})
</script>
</body>
<footer class="footer mt-auto py-3 bg-light">
<div class="container">
<p class="small">Developed by Brian McKeown | See this project on <a href="https://github.com/bmck2006/WordleCheat/" target="_blank"><i class="fa-brands fa-github"></i> github</a></p>
<p class="small">Credits: Word List derived from <a href="https://www.mit.edu/~ecprice/wordlist.10000" target="_blank">MIT's 10,000-word list</a></p>
</div>
</footer>
</html>