Adventure Game
Background
This game is basically a port of my CS 61A project to PHP (the original game was written in Scheme). This game is probably not really fun. This was mainly an excuse for me to learn OOP in PHP.
Story:
Those Standfod nuts have taken the axe. Get the axe back!
Commands:
go [direction]
Move in [direction]
goto [place]
Move directly to [place]; requires teleporter
take [thing]
Take [thing]
fight
Fight the enemy
buy
Buy food; need to be in a restaurant
eat
Eat all food you have in your inventory
menu
Display the restaurant's menu; need to be in a restaurant
money
Display how much money you have
exits
List the directions you can go from this place
where am i
Display where you are at
lookat [object]
Look at [object]
look [direction]
Display what's in [direction] without moving there
whos here
List all the people at your current location
whats here
List all the things at your current location
inventory
List all the thing you have in your inventory