allanburleson / python-adventure-game Goto Github PK
View Code? Open in Web Editor NEWA text-based adventure game in the tradition of ADVENT and Zork
License: MIT License
A text-based adventure game in the tradition of ADVENT and Zork
License: MIT License
Trying to drop your fist will give you a action rejection message, but the fist is still dropped.
> drop fist
You can't drop your own fist, silly!
fist dropped.
> look
You are in a small room with concrete walls and no windows.
There does not appear to be an exit.
There is a small mirror lying on the ground.
There is a bug if you are reading this.
>
When you try to move to an exit when you just loaded from the save file, it says there is no exit to [direction]
. The only way to get out of it is to type say xyzzy
. Then everything works normally again.
The engine works well; now there needs to be something to actually play.
For some reason, the save file is having issues. @DaVinci789, will you look at it because I'm stuck. It was working fine but it suddenly stopped working without me changing anything.
Supporting all Python 3 and recent Python 2 makes sense
I've been looking into #23. It's a bit annoying that you have to manually run all the steps to reproduce.
I suggest we break up the Game
class into separate game world and CLI classes, so that tests can create a full world (containing locations, the player etc) and script the "player" actions.
Long term this would mean we can move out other CLI things like the fighting dialogs from the Player
class.
Fix command redundancy with getattr()
. Refactoring needed.
A combat system is yet to be implemented.
Using PyInstaller
The 'prev' command allows one to re-enter a room otherwise not allowed.
To Reproduce:
There's something wrong with the player.quit function. I can't figure out what.
Fixing #5 changed some aspects of the API. The documentation needs fixing.
To see this problem, run demo.py
, get into the house, go east, sw, then south, south again, and retreat. When you retreat, it asks you to fight again, but it crashes when you try to. Retreating should mean you are avoiding the fighting.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.