added .gitignore and ascii chest
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
bag
|
||||||
|
treasure.png
|
||||||
|
key.txt
|
1
.gitignore~
Normal file
1
.gitignore~
Normal file
@@ -0,0 +1 @@
|
|||||||
|
bag
|
@@ -15,4 +15,3 @@ if guess == secret:
|
|||||||
urlretrieve("http://chrisproctor.net/images/fork.png", "treasure.png")
|
urlretrieve("http://chrisproctor.net/images/fork.png", "treasure.png")
|
||||||
else:
|
else:
|
||||||
print(" nothing happens. Maybe next time.")
|
print(" nothing happens. Maybe next time.")
|
||||||
|
|
||||||
|
@@ -2,3 +2,22 @@
|
|||||||
swirling around you in every direction. In front of you is a deep chasm
|
swirling around you in every direction. In front of you is a deep chasm
|
||||||
where you see larger fish sliding through the shadows. There is a chest
|
where you see larger fish sliding through the shadows. There is a chest
|
||||||
half-buried in the seafloor.
|
half-buried in the seafloor.
|
||||||
|
|
||||||
|
|
||||||
|
____...------------...____
|
||||||
|
_.-"` /o/__ ____ __ __ __ \o\_`"-._
|
||||||
|
.' / / \ \ '.
|
||||||
|
|=====/o/======================\o\=====|
|
||||||
|
|____/_/________..____..________\_\____|
|
||||||
|
/ _/ \_ <_o#\__/#o_> _/ \_ \
|
||||||
|
\________________\####/________________/
|
||||||
|
|===\!/========================\!/===|
|
||||||
|
| |=| .---. |=| |
|
||||||
|
|===|o|=========/ \========|o|===|
|
||||||
|
| | | \() ()/ | | |
|
||||||
|
|===|o|======{'-.) A (.-'}=====|o|===|
|
||||||
|
| __/ \__ '-.\uuu/.-' __/ \__ |
|
||||||
|
|============= .'.'^'.'.=============|
|
||||||
|
| _\o/ __ {.' __ '.} _ _\o/ _|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -14,4 +14,4 @@ else:
|
|||||||
print(" 'I would like to give you a gift. Here's a key.'")
|
print(" 'I would like to give you a gift. Here's a key.'")
|
||||||
|
|
||||||
with open("key.txt", "w") as keyfile:
|
with open("key.txt", "w") as keyfile:
|
||||||
keyfile.write(" Even in the faint light of your lamp, the key has a golden gleam.")
|
keyfile.write(" Even in the faint light of your lamp, the key has a golden gleam.\n")
|
||||||
|
Reference in New Issue
Block a user