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.
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.
More from User
00:34
Final Project: CS50P
ahmadsohail.ca
03:03
Final Project CS50’s Introduction to Computer Science Harvard
ahmadsohail.ca
Related Videos
02:15
ieee projects trichy, ieee final year projects trichy,final year projects trichy, mca projects trichy, b.e. final year projects trichy, b.tech projects trichy
Ieeeprojectstrichy
00:51
BE Projects, B.Tech Projects, College Projects, Student Projects, Final Year Projects, Real Time Projects, Engineering Projects, MCA Projects, Polytechnic Projects, Diploma Projects
NCCT
01:31
Engineering Student Projects, College Projects, IEEE Projects, Student Projects, Final Year Student Projects, IEEE 2011 Projects
NCCT
02:00
IEEE PROJECT TRICHY,IEEE PROJECT THANJAVUR,IEEE PROJECT KARUR,EEE-CSE-ECE-IT PROJECTS TRICHY,FINAL YEAR PROJECTS, IEEE
Shreesiddhisoftsolutions
00:51
Final Year Student Projects, BE Projects, ME Projects, IEEE Projects
NCCT
01:24
IEEE Projects,IEEE 2011 Projects,IEEE 2012 Projects,Final year projects
ieee2011projects