This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import string | |
import os # Used for clearing the term window | |
import time # Used for 5 second buffer at the end of the game | |
import random # To pick random word from list | |
from tkinter import * # GUI | |
import tkinter as tk # GUI | |
from tkinter import messagebox # GUI Message Box | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import string | |
import os # Used for clearing the term window | |
import time # Used for 5 second buffer at the end of the game | |
import random # To pick random word from list | |
class hangman: | |
# Var | |
played_word = "" # Word in play | |
gameboard = [] # Playing game board |