FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

cs50python/project at main · aviiciii/cs50python · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

HANGMAN GAME

Description:

The final project is a hangman game made using python and is playable in the terminal by running the project.py file. A movie is chosen at random from a predetermined list of movies that were taken from IMDb's top 100 movies list (as per August 2022).

The program consists of a main function and 4 other subprograms/functions namely select_movie, question, game, get_result which are called from the main funtion in the respective order.

Project Requirements:

☑ Your project must be implemented in Python.

☑ Your project must have a main function and at least three other functions, each of which must be accompanied by tests that can be executed with pytest.

☑ Your main function must be in a file called project.py, which should be in the “root” (i.e., top-level folder) of your project.

☑ Your 3 required custom functions other than main must also be in project.py and defined at the same indentation level as main (i.e., not nested under any classes or functions).

☑ Your test functions must be in a file called test_project.py, which should also be in the “root” of your project. Be sure they have the same name as your custom functions, prepended with test_ (test_custom_function, for example, where custom_function is a function you’ve implemented in project.py).

☑ You are welcome to implement additional classes and functions as you see fit beyond the minimum requirement.

☑ Implementing your project should entail more time and effort than is required by each of the course’s problem sets.

☑ Any pip-installable libraries that your project requires must be listed, one per line, in a file called requirements.txt in the root of your project.


Back | FazBrowse Home | New Git URL