phillipjohnson / text-adventure-tut Goto Github PK
View Code? Open in Web Editor NEWCode for a text adventure tutorial in Python
License: MIT License
Code for a text adventure tutorial in Python
License: MIT License
Hi,
I'm following through your tutorial, and I've come across 2 typos and a few places with >80 characters per line. I'll push the typo corrections (they're all in strings) as I finish the tutorial, but I thought you might want to sacrifice following PEP 8 to the letter for clarity for your readers. If you want, I'll do that bit of linting and push it your way. I'm new to Github and don't really know if what I'm doing right now is impolite or anything...
<3
Currently the LootRoom(MapTile)
class currently allows someone to leave, return, and pickup the same item again. This makes for an infinite number of whatever item is in the LootRoom. This behaviour should be changed. A similar example is the EnemyRoom(MapTile)
which keeps track of the state of the enemy inside it with the help of the enemy.is_live()
method.
After clone this repository, what's the next step to play this game?
NOTE: Soooo sorry. This was meant for my repo. :(
Inventory does not properly display content.
Example:
Action: i
(<items.Gold object at 0x016BF170>, '\n')
(<items.Rock object at 0x016BF1F0>, '\n')
(<items.Dagger object at 0x016BF0F0>, '\n')
(<items.Dagger object at 0x016BF0F0>, '\n')
(<items.Dagger object at 0x016BF0F0>, '\n')
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.