added .gitignore and ascii chest

This commit is contained in:
Jacob Wolf 2019-08-19 16:59:38 +08:00
parent e2f73e918b
commit e21c628596
5 changed files with 24 additions and 2 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
bag
treasure.png
key.txt

1
.gitignore~ Normal file
View File

@ -0,0 +1 @@
bag

View File

@ -15,4 +15,3 @@ if guess == secret:
urlretrieve("http://chrisproctor.net/images/fork.png", "treasure.png")
else:
print(" nothing happens. Maybe next time.")

View File

@ -2,3 +2,22 @@
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
half-buried in the seafloor.
____...------------...____
_.-"` /o/__ ____ __ __ __ \o\_`"-._
.' / / \ \ '.
|=====/o/======================\o\=====|
|____/_/________..____..________\_\____|
/ _/ \_ <_o#\__/#o_> _/ \_ \
\________________\####/________________/
|===\!/========================\!/===|
| |=| .---. |=| |
|===|o|=========/ \========|o|===|
| | | \() ()/ | | |
|===|o|======{'-.) A (.-'}=====|o|===|
| __/ \__ '-.\uuu/.-' __/ \__ |
|============= .'.'^'.'.=============|
| _\o/ __ {.' __ '.} _ _\o/ _|

View File

@ -14,4 +14,4 @@ else:
print(" 'I would like to give you a gift. Here's a key.'")
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")