HANGMAN GAME CODE- INTRODUCTION
- MHK
- May 1, 2020
- 1 min read
Updated: May 8, 2020
I started an assignment which is a code for a game that nearly everyone knows, Hangman. Tomorrow I am going to post some functions that will help you writing your code but today I am going to explain the details you should handle before writing the code. First of all, Hangman assignment I started was an assignment-2 in MIT's free course 6.0001, Introduction to Computer Science. (Link for the site:https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/ If you want to improve yourself in Python, you can watch from here.)
Now, you should go to link:(https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/assignments/) and download the folder for assignment 2. In assignment 2, there should be 3 folders named "Hangman, Mit 6_0001F16_pset2 and words" in folder "ps2". Run the code in Hangman file in your command prompt or spyder. It should say " Loading word list from file...55900 words loaded." If you want to write the code for yourself, you can open the file
"Mit 6_0001F16_pset2" and look for instruction but the code I am going to post is going to be a little different than the instructions.
If you did your preparations, see you tomorrow.
COVER IMAGE LINK: https://image.shutterstock.com/image-vector/hangman-game-260nw-623194223.jpg
Comments