Qwörtle lebt!
This commit is contained in:
commit
f481edd84c
4
filter.sh
Executable file
4
filter.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
iconv -f ISO-8859-1 -t UTF-8 top10000de.txt > top10000de_utf8.txt
|
||||
awk '{ if (length($0) == 5) print }' top10000de_utf8.txt > top10000de_utf8_len5.txt
|
||||
cat top10000de_utf8_len5.txt | rg --invert-match "'|ß" > top10000de_utf8_len5_filtered.txt
|
46
index.css
Normal file
46
index.css
Normal file
@ -0,0 +1,46 @@
|
||||
body {
|
||||
background-color: #1f2937;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.centering {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#main {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
grid-template-rows: repeat(2, max-content);
|
||||
gap: 2em;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.invalid {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.correct {
|
||||
background-color: lime;
|
||||
}
|
||||
|
||||
.wrong-position {
|
||||
background-color: yellow;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.cell {
|
||||
padding: 0.5em;
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
font-family: monospace;
|
||||
font-size: xx-large;
|
||||
border: 1px solid #bbb;
|
||||
vertical-align: top;
|
||||
}
|
13
index.html
Normal file
13
index.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf8">
|
||||
|
||||
<link rel="stylesheet" href="./index.css">
|
||||
|
||||
<div class="centering">
|
||||
<h1>Qwörtle</h1>
|
||||
<div id="main">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="./index.js"></script>
|
1007
top10000de_utf8_len5_filtered.txt
Normal file
1007
top10000de_utf8_len5_filtered.txt
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user