wordle.html
HTML document, Unicode text, UTF-8 text
1<!DOCTYPE html> 2<html lang="en"> 3<head> 4<meta charset="UTF-8"> 5<title> 6Teletype Wordle 7</title> 8<link rel="stylesheet" href="/static/style.css"> 9<meta name="viewport" content="width=device-width, initial-scale=1.0"> 10</head> 11<body> 12<header> 13<nav> 14<ul> 15<li><a href="/">Home</a></li> 16<li><a href="/projects">Projects</a></li> 17<li><a href="/index">Index</a></li> 18<li><a href="https://roundabout-host.com/roundabout">Roundabout-host</a></li> 19</ul> 20<ul> 21<li><a href="mailto:root@roundabout-host.com" id="mail-link">root@roundabout-host.com</a></li> 22</ul> 23</nav> 24</header> 25<main> 26 27<h1 class="project-title"> 28<span>Teletype Wordle</span> 29<a href="https://roundabout-host.com/roundabout/tty-wordle">Repository</a> 30</h1> 31<article class="content-area"> 32<p>Just like the original Wordle, you have to guess a 5-letter word in 6 tries and it tells you 33how many letters are correct and in the right position, how many are correct but in the wrong 34position, and how many are not in the word at all. The only difference is that this one is 35played in the terminal. It's a great SSH toy for when you're bored. 36</p><p>The game is written in Python and uses the <code>termcolor</code> library for coloured output. Since it 37uses <code>colorama</code>, it works on Windows as well as Unix-like systems. 38</p><p><img alt="A game of teletype Wordle" src="/static/photos/wordle.png"></img> 39</p><p>You can also customise the game quite a bit. You can change the number of tries, the list of 40words to guess from (and length will be inferred from that), and the list of words to randomly 41choose an answer from. You can also enable the analyser, which shows all the letters that have 42been found so far. Let's make someone play it with the full dictionary :) 43</p><p>There is also a hard mode, where you must use all the letters that have been found in your 44guesses. 45</p><pre data-language="">usage: tty-wordle [-h] [-a] [-x] [--delay DELAY] [-l WORDS] [-n ANSWERS] [-t GUESSES] 46 47A Wordle for your console. 48 49options: 50-h, --help show this help message and exit 51-a, --analyser add the analyser, a row of all found letters 52-x, --hard enable hard Wordle: you must use all found letters in your guesses 53--delay DELAY time to show error messages for, in seconds 54-l WORDS, --list WORDS 55file to pull allowed guesses from 56-n ANSWERS, --answers ANSWERS 57file to pull a random answer from 58-t GUESSES, --tries GUESSES 59number of tries 60</pre><p>Also, this is how the analyser looks like: 61</p><p><img alt="The analyser in teletype Wordle" src="/static/photos/wordle-analyser.png"></img> 62</p><p>If you press ^C it asks you whether you want to give up or not. If you do, it shows you the 63answer. If you don't, it continues the game. You can press ^C again to close it and never see 64the answer. 65</p><h2>Licence</h2><p>Apache 2.0 66</p> 67</article> 68 69</main> 70<footer> 71<p>Page generated on Monday, 29 April 2024 at 17:09:20</p> 72<p xmlns:cc="http://creativecommons.org/ns#" >This work is marked with <a href="https://creativecommons.org/publicdomain/zero/1.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC0 1.0 Universal</a> (🄍). No rights reserved.</p> 73</footer> 74</body> 75</html>