Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
game template 1 and 2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Idris Mezhoud
game template 1 and 2
Commits
a029c11e
Commit
a029c11e
authored
9 months ago
by
Idris Mezhoud
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
6f05f7ba
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
map.py
+69
-0
69 additions, 0 deletions
map.py
with
69 additions
and
0 deletions
map.py
0 → 100644
+
69
−
0
View file @
a029c11e
room_reception
=
{
"
name
"
:
"
Reception
"
,
"
description
"
:
"""
You are in a maze of twisty little passages, all alike.
Next to you is the School of Computer Science and
Informatics reception. The receptionist, Matt Strangis,
seems to be playing an old school text-based adventure
game on his computer. There are corridors leading to the
south and east. The exit is to the west.
"""
,
"
exits
"
:
{
"
south
"
:
"
Admins
"
,
"
east
"
:
"
Tutor
"
,
"
west
"
:
"
Parking
"
}
}
room_admins
=
{
"
name
"
:
"
MJ and Simon
'
s room
"
,
"
description
"
:
"""
You are leaning agains the door of the systems managers
'
room. Inside you notice Matt
"
MJ
"
John and Simon Jones. They
ignore you. To the north is the reception.
"""
,
"
exits
"
:
{
"
north
"
:
"
Reception
"
}
}
room_tutor
=
{
"
name
"
:
"
your personal tutor
'
s office
"
,
"
description
"
:
"""
You are in your personal tutor
'
s office. He intently
stares at his huge monitor, ignoring you completely.
On the desk you notice a cup of coffee and an empty
pack of biscuits. The reception is to the west.
"""
,
"
exits
"
:
{
"
west
"
:
"
Reception
"
}
}
room_parking
=
{
"
name
"
:
"
the parking lot
"
,
"
description
"
:
"""
You are standing in the Queen
'
s Buildings parking lot.
You can go south to the COMSC reception, or east to the
general office.
"""
,
"
exits
"
:
{
"
south
"
:
"
Reception
"
,
"
east
"
:
"
Office
"
}
}
room_office
=
{
"
name
"
:
"
the general office
"
,
"
description
"
:
"""
You are standing next to the cashier
'
s till at
30-36 Newport Road. The cashier looks at you with hope
in their eyes. If you go west you can return to the
Queen
'
s Buildings.
"""
,
"
exits
"
:
{
"
west
"
:
"
Reception
"
}
}
rooms
=
{
"
Reception
"
:
room_reception
,
"
Admins
"
:
room_admins
,
"
Tutor
"
:
room_tutor
,
"
Parking
"
:
room_parking
,
"
Office
"
:
room_office
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment