I am a bad guy, and I am to die by hanging, however, the only way to successfully hang me is to guess the word in my head,one letter at a time, in a specified number of tries.
- For each letter you guesss wrong, you slowly lose your change to get justice.
- For each letter you guess correctly, you gradually move towards your objective of hanging me
Can you successfully #hangme?
Note that this image is only meant to provide clarity as to how the game works. It doesn't require that you design the application in this manner. All image rights reserved to their respective owners
At the end of this #CodeAlong session, you should have been able to learn the following
- Basic Python syntax
- Variables
- Iterables
- Functions
- Conditionals and Loops
- Modules
- And some more advanced but simple-to-grab stuff
Ready to #CodeAlong? Let's begin! However, you need these tools to start
- Git (You probably already have git, and a github account. If you don't, well, you can just hit "sign-up" now on the top right of this screen). Also download github by visiting https://git-scm.com/downloads and following the instructions
- Python. I normally recommend the full package of Anaconda - a distribution that includes not only Python, but most likely everything you need to have as a Python Data Scientist. Get it here -> https://www.anaconda.com/products/individual#Downloads
- Visual Studio Code - Microsoft's Integrate Development Environment for all things software development. This, in my opinion, is by far the best IDE you can use for any language. Get it here -> https://code.visualstudio.com/download
Once you have satisfied these requirements, you can start by:
- Fork this git
- Clone the fork on your PC
- Join the live session, let us #CodeAlong
If you are a complete beginner, check out the videos in this link
If you already have hands-on experience and want to dive into the projects in the code, go straight to the project video and the code repo
To run the completed project, navigate to the game_files folder, then run
python main.py