Coder Social home page Coder Social logo

python-adventure-game's People

Contributors

allanburleson avatar clicketyclack avatar davinci789 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

python-adventure-game's Issues

Fist is droppable

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.

> 

Moving is broken when loading from the save file

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.

Needs story

The engine works well; now there needs to be something to actually play.

Save file is broken

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.

Refactor Game into GameWorld and Cli

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.

Redundancy

Fix command redundancy with getattr(). Refactoring needed.

'Prev' bug

The 'prev' command allows one to re-enter a room otherwise not allowed.

To Reproduce:

  • Start game with no save file
  • Exit room (mirror, xyzzy)
  • You should be in home
  • Type 'prev'
  • You'll end up back in the first room.

Fighting bug

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.