-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathguess_that_movie.py
46 lines (43 loc) · 1.22 KB
/
guess_that_movie.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import movies
##
#
# movie_data is a python dict. If you're
# unfamiliar with the data structure, you
# can learn more here:
#
# https://www.rithmschool.com/courses/python-fundamentals-part-1/python-dictionaries-dictionary-basics
#
# The dict has the following keys:
#
# {"Actors": "A comma separate names of actors as a string",
# "Director": "The name of the director",
# "Plot": "A short plot summary",
# "Title": "The title of the movie",
# "Year": "The year the movie was made"
# }
#
##
movie_data = movies.random_movie_data()
##
#
# Project Description:
#
# Make a guessing game where the user's goal is to
# try to guess the title of a random movie. The code
# for getting a random movie is already provided above.
#
# The game should first print all the actors in the movie.
# From there, the users has 2 options, make a guess or ask
# for a hint. If the user guesses and is correct, they win!
# The user should be given another movie to guess. If the
# user asks for a hint, more movie information should be shown.
# After all the hints are given, the user can give up and
# see the answer. The user should be able to quit the game
# at any time.
#
# Here is a suggested order for hints:
# Actors
# Year
# Director
# Plot
##