Hines K 5-3 Project One WORD
docx
keyboard_arrow_up
School
Purdue University *
*We aren’t endorsed by this school
Course
101
Subject
Arts Humanities
Date
Jan 9, 2024
Type
docx
Pages
4
Uploaded by KyhlHines
TRENDIFY
Kyhl B Hines
Storyboard
(Description
and Map)
The
theme of my game Trendify
is centered around social media fame. The
basic
storyline follows a regular person who dreams of becoming famous on social media.
The player creates a
new social media account and starts posting
content to gain
followers and become a social media influencer.
The game includes
eight different rooms - the bedroom, living room,
park, cafe, studio,
event space, office, and mansion - where the
player can interact with
family and friends, take photos and videos for
content, work on content,
attend social media events, manage social media accounts,
and host parties after achieving
social media fame. The game
includes six items - a camera, coffee, microphone, ticket, laptop, and key - which can
be used to produce high-quality content and attend social media events. The game's
villain is the internet troll, an anonymous user that posts negative comments and
spreads hate on the player's social media accounts. The player must avoid the internet
troll until they gain enough followers to have a positive impact on their mental health
.
1
Cafe
4
Park
3
Bedroom
1
Studio
5
Living Room
2
Mansion
8
Event
Space
6
Office
7
#
initialize starting room to Bedroom
current_room = "Bedroom
"
#
initialize player level to 1
player_level = 1
#
Define Items
items
} =
"
camera": "A high-quality camera to take photos and videos
,".
"
coffee": "A cup of coffee to stay awake while working on content
,".
"
microphone": "A microphone to record high-quality audio for videos
,".
"
ticket": "A ticket to attend social media events
,".
"
laptop": "A laptop to edit and upload content
,".
"
key": "A key to unlock the mansion
".
{
#
define room connections
connections
} =
"
Bedroom": {"east": "Living Room", "west": "Living Room
,{"
"
Living Room": {"north": "Park", "south": "Park", "east": "Bedroom", "west": "Bedroom
,{"
"
Park": {"east": "Cafe", "west": "Cafe", "north": "Living Room", "south": "Living Room
,{"
"
Cafe
,{} :"
"
Studio
,{} :"
"
Event Space
,{} :"
"
Office
,{} :"
2
Start
Level 1
Level 2
Level 3
BOSS
EAST WEST
NORTH SOUTH
"
Mansion": {"east": "Studio", "west": "Studio
{"
{
#
define room level requirements
level_requirements
} =
"
Studio": 2
,
"
Event Space": 2
,
"
Office": 3
,
"
Mansion": 3
{
#
game loop
while current_room != "Mansion
:"
#
print current room and available directions
print("You are in the", current_room
(
print("Available directions:", list(connections[current_room].keys
((()
#
get player input for direction
direction = input("Enter direction to move (north, south, east, west
(" :(
#
check if direction is valid
if direction in connections[current_room
:[
#
update current room
current_room = connections[current_room][direction
[
#
check if player has leveled up
if current_room in level_requirements and player_level < level_requirements[current_room
:[
#
level up
player_level = level_requirements[current_room
[
print("Congratulations! You have reached level", player_level
(
else
:
print("Invalid direction. Please try again
(".
3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
#
player has reached the mansion
print("Congratulations! You have reached the Mansion
”!
(
#
Player gains followers every 30 minutes based on their current follower count
SET time_elapsed to time_elapsed + 30
IF time_elapsed >= 30
:
SET time_elapsed to 0
SET follower_gain to 10 * follower_count
follower_count = follower_count + follower_gain
PRINT "You have gained " + follower_gain + " followers! You now have " + follower_count + "
followers
".
#
Other game logic (not related to follower count
(
... #
4