Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Group Project
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
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
Ahmed Yusuf
Group Project
Commits
5922b1f0
Commit
5922b1f0
authored
2 years ago
by
Morgan Diment
Browse files
Options
Downloads
Patches
Plain Diff
adding level 2
parent
d010e132
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
Group_game/level_2.py
+35
-0
35 additions, 0 deletions
Group_game/level_2.py
with
35 additions
and
0 deletions
Group_game/level_2.py
0 → 100644
+
35
−
0
View file @
5922b1f0
from
itertools
import
count
from
operator
import
truediv
from
items
import
*
from
player
import
*
from
map
import
*
from
game
import
time_taken
def
drink_wine
():
counter
=
0
more
=
True
while
True
:
if
counter
<
2
:
print
(
'
You drink a glass of the wine, but still cannot see the clue.
'
)
print
(
'
Would you like to drink another glass?
'
)
more
=
str
(
input
())
if
more
==
'
yes
'
:
counter
+=
1
False
else
:
print
(
'
You pass out from too much alchohol consumption.
'
)
print
(
'
You wake up 5 minutes later on the floor.
'
)
time_taken
=
time_taken
-
360
False
def
close_valve
():
pass
def
open_trapdoor
():
pass
def
hangman
():
pass
def
open_closet
():
pass
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