Skip to content

Travis game based on Joes game #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
cba06cb
Create Rectangle-Joe.py
KenwoodFox Nov 1, 2019
a211514
framework for adventure game
KenwoodFox Nov 3, 2019
4d66d35
Added `where` command
KenwoodFox Nov 3, 2019
0f28a72
updated text
KenwoodFox Nov 3, 2019
8c243b5
Use def for fuzzy words
KenwoodFox Nov 4, 2019
a5753eb
Update Adventure.py
KenwoodFox Nov 4, 2019
716eaff
Update Adventure.py
KenwoodFox Nov 4, 2019
48c3fda
It works!
KenwoodFox Nov 4, 2019
9c9eac0
Remove verbose
KenwoodFox Nov 4, 2019
50b20e7
Create .gitignore
KenwoodFox Nov 4, 2019
cadaa78
save system kinda works but not really lol!
KenwoodFox Nov 4, 2019
9ca36f3
Delete Joe.yaml
KenwoodFox Nov 4, 2019
b25c469
fix a bug where lowercase y would not allow you through a door
KenwoodFox Nov 5, 2019
82e89c2
Create instructions for installing requires
KenwoodFox Nov 5, 2019
00a7a97
Update readme.md
KenwoodFox Nov 5, 2019
5a12a37
Update Adventure.py
KenwoodFox Nov 5, 2019
a490125
update typo in lobby
KenwoodFox Nov 5, 2019
b7b1ad0
Update Adventure.py
KenwoodFox Nov 5, 2019
5762c61
added Travis Room
Nov 6, 2019
8037e20
made the code better
Nov 6, 2019
edd5174
added inspect
Nov 6, 2019
3fdef16
updated bottle name
Nov 7, 2019
5905421
changed the ceiling desc
Nov 7, 2019
95e5527
updated the right file this time
Nov 7, 2019
0548888
No synonyms anymore to the look feature
KenwoodFox Nov 7, 2019
b10f3b6
Merge branch 'joes-game' of https://github.com/CRTC-Computer-Engineer…
KenwoodFox Nov 7, 2019
9c5511a
Added comments
KenwoodFox Nov 7, 2019
36dacb9
Removed syntax: No longer requires objects or items in directions to …
KenwoodFox Nov 7, 2019
5aeb5dd
added secretroom
Nov 7, 2019
76f55b5
Merge branch 'joes-game' of https://github.com/CRTC-Computer-Engineer…
Nov 7, 2019
e19e62d
changed item naming
Nov 7, 2019
c74f9e1
added path to the secret room
Nov 7, 2019
3450d7e
made it better
Nov 7, 2019
824a503
Item pickup now works
KenwoodFox Nov 7, 2019
d500b55
Merge branch 'joes-game' of https://github.com/CRTC-Computer-Engineer…
KenwoodFox Nov 7, 2019
69d91e1
added compass navigation, added snake room, fixed bugs
Nov 7, 2019
e44b08a
added a new room. identified more bugs
Nov 13, 2019
a56d7b7
added woodenhouse
Nov 20, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added compass navigation, added snake room, fixed bugs
  • Loading branch information
DirDraggo committed Nov 7, 2019
commit 69d91e154066c1e016c06afb4cdeaad90854c672
8 changes: 4 additions & 4 deletions Basic Text Adventure Game/gamedata/lobby.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ items:
gameManual:
name: Welcome! and thanks for playing this game, INSPECT this manual for more info
inspect: This manual is almost useful for nothing!
left:
west:
desc: You turn to the left and find a wooden door and a small key on the floor, you cannot pick up the key beacuse i did not program that feature yet.
key:
name: blueKey
inspect: Its a blue key
door:
inspect: A simple wooden door, you're not sure where it leads
dest: Nowhere
right:
east:
desc: You see a simple wooden door and nothing else.
door:
inspect: Its a simple wooden door, your inspection reveals nothing more about it
dest: It apears this door leads to newroom
path: gamedata/newroom.yaml
behind:
south:
desc: There is nothing behind you but wall
ahead:
north:
desc: You see a simple wooden door and nothing else.
door:
inspect: A simple wooden door, you're not sure where it leads
Expand Down
33 changes: 21 additions & 12 deletions Basic Text Adventure Game/gamedata/newroom.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
roommeta:
desc: "Its a basic empty room."
inspect: "There's nothing in this room."
left:
desc: "you see a door"
desc: You are in newroom. Its a basic empty room.
inspect: There's nothing in this room.
north:
desc: you see a door
door:
inspect: "The door is wet."
dest: "this leads to travis room"
path: "gamedata/travisroom.yaml"
behind:
desc: "You see a basic wooden door"
inspect: The door is wet.
dest: this leads to travis room
path: gamedata/travisroom.yaml
south:
desc: you see a locked wooden door. you can INSPECT door
door:
inspect: The door needs a red key.
dest: Nowhere
up:
desc: There is a ceiling.
down:
desc: There is nothing on the ground.
west:
desc: You see a basic wooden door
door:
inspect: "A simple wooden door, it leads to the lobby"
dest: "It apears this door leads to the lobby"
path: "gamedata/lobby.yaml"
inspect: A simple wooden door, it leads to the lobby
dest: It apears this door leads to the lobby
path: gamedata/lobby.yaml
43 changes: 21 additions & 22 deletions Basic Text Adventure Game/gamedata/secretroom.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
roommeta:
desc: "How did you get in here? This room is a secret."
inspect: "!*(! !) !* )!(((!)) ((!!"
desc: How did you get in here? This room is a secret.
inspect: you feel lighter than normal
items:
stone:
desc: "A stone. It feels lighter than a regular stone. It looks odd."
inspect: "There seem to be two words in a different language on the stone. It reads: Go back."
stone:
desc: A stone. It feels lighter than a regular stone. It looks odd.
inspect: There seems to be two words in a different language on the stone. It reads Go back.
gameManual:
desc: "INSPECT this manual for more info"
inspect: "you can LOOK LEFT, RIGHT, AHEAD, or BEHIND, you can INSPECT things, and you can OPEN doors."
gameManual:
desc: Welcome! and thanks for playing this game, INSPECT this manual for more info
inspect: This manual is almost useful for nothing!
down:
desc: "You see your body."
left:
desc: "(*! !*(*(!(!*)( !*()"
desc: You see your body.
west:
desc: you see a wall. The wall is illuminated by the ceiling.

right:
desc: "You see a stone on the ground next to the wall. You can INSPECT STONE."
door:
inspect: "*)(*(*()*)*)(!! *)(*)(*)(*(*())**!! )(*()*)(*()*)(*)(*)(*)(*! ()"
dest: ""
east:
desc: You see a stone on the ground next to the wall. You can INSPECT STONE.
stone:
name: "Stone"
inspect: "There seem to be two words in a different language on the stone. It reads: Go back."
behind:
desc: "You feel something looking at you. You should head back to travis room."
name: stone
inspect: There seems to be two words in a different language on the stone. It reads Go back.
south:
desc: You feel something looking at you. You should head back to travis room.
door:
inspect: "It is the door leading back to the room you came from."
dest: "It appears to go back."
path: "gamedata/travisroom.yaml"
inspect: It is the door leading back to the room you came from.
dest: It appears to go back.
path: gamedata/travisroom.yaml
up:
desc: "You look into the sky. Sometimes the clouds glitch. You feel like its a simulation."
desc: You look into the sky. Sometimes the clouds glitch. You feel like its a simulation.
Empty file.
51 changes: 28 additions & 23 deletions Basic Text Adventure Game/gamedata/travisroom.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,38 @@
roommeta:
desc: "This is Travis Room. In this room you can also LOOK UP and LOOK DOWN"
inspect: "Apon further inspection, the room opens up to your left and right more than forward."
desc: This is Travis Room. In this room you can also LOOK UP and LOOK DOWN
inspect: Apon further inspection, the room opens up to your left and right more than forward.
items:
bottle:
desc: "A bottle"
inspect: "The bottle can hold liquid. It's clear."
desc: A bottle
inspect: The bottle can hold liquid. It's clear.
gameManual:
desc: "Welcome! and thanks for playing this game, INSPECT this manual for more info"
inspect: "This manual is almost useful for nothing!"
desc: Welcome! and thanks for playing this game, INSPECT this manual for more info
inspect: This manual is almost useful for nothing!
down:
desc: "You look down. You see a bottle on the ground. You can INSPECT bottle."
desc: You look down. You see a bottle on the ground. You can INSPECT bottle.
bottle:
name: "bottle"
inspect: "Its an empty bottle."
left:
desc: "You turn to the left and see a wall."
name: bottle
inspect: Its an empty bottle.
west:
desc: You turn to the left and see a wall.

right:
desc: "You see a large metal door with strange markings all over it. The door is slightly ajar. you see nothing else."
east:
desc: You see a large metal door with strange markings all over it. The door is slightly ajar. you see nothing else.
door:
inspect: "Its a large metal door with strange markings all over it, your inspection reveals nothing more about it"
dest: "This leads to a secret room"
path: "gamedata/secretroom.yaml"
behind:
desc: "There is the door that leads back to the previous room."
inspect: Its a large metal door with strange markings all over it, your inspection reveals nothing more about it
dest: This leads to a secret room
path: gamedata/secretroom.yaml
south:
desc: There is the door that leads back to the previous room.
door:
inspect: "It is the door leading back to the room you came from."
dest: "It appears to go back."
path: "gamedata/newroom.yaml"
inspect: It is the door leading back to the room you came from.
dest: It appears to go back.
path: gamedata/newroom.yaml
up:
desc: "You see the ceiling. you see that the ceiling is gay."

desc: You see the ceiling. you see that the ceiling is gay.
north:
desc: there is a door with a window
door:
inspect: you look through the window. There are a few snakes in the next room.
dest: This leads to another room
path: gamedata/snakeroom.yaml