ReePrime
Final Project: CS50P

Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.

Final Project: CS50P

A
ahmadsohail.ca

2 Views • Sep 16, 2024

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 September 2024).

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.