?hangman?
by trentHarlem
HTML
<h1>
¡HANGMAN!
</h1>
<small>maybe?</small>
CSS
body {
font: 1.2em system-ui;
}
JavaScript
// player one ? pick a secret word
// player two guess letters / the word
// 6 incorrect guesses player two loses
// build 'hangman' with canvas(?)
const alphabet = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h',
'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's',
't', 'u', 'v', 'w', 'x', 'y', 'z'
];
// create buttons / letters