473,400 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

Creating a text adventure

I am in the process of learning Python. I have the basics down and I
now want to test my abilitiy to use them in a (very) small project. I
have the idea for a (very) small text based game mapped out in my head.
It will include two rooms, random creatures (amounts and type) in each
room and random chests in each room. The basic "battle system" giving
the user the ability to run or attack. Creatures will have hp, attack,
defense, and name attributes. The player will have the same. Treasure
chests will be populated with random treasure.

I'm not adding anything fancy - like I said its just a small project to
gell my newfound knowledge.

What I am looking for is a resource (preferably via the web) that will
give me an idea of how to set things up. I'm not looking to add any
libraries to the project (so no pygame or livewires). I'm just using
2.4.2. I'll add other things when I feel I have 'mastered' the
fundamental concepts of Python.

Thanks for your help!! :)

Mar 2 '06 #1
1 1995
This (unabashed plug) might help. Most of the tutorial is about
networking, but just skip that stuff. Hopefully the architecture
section helps. But it sounds like you're pretty much on your way
already. Just read through your first paragraph, circle every noun,
and determine whether that noun should be a class or an attribute of a
class.

http://sjbrown.ezide.com/games/writi...es.html#hModel

Mar 2 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Zachary | last post by:
Hello, I've recently thought of how ideal Python is for the development of what used to be called text adventures. In case any of you don't know, these were basically sort of a computer game in...
4
by: Ara Kooser | last post by:
I am working on a text adventure game for python to get back into python programming. My version 0.1 used only functions so I could get familiar with how those work. I want to move beyond that. I...
0
by: Gabriel Genellina | last post by:
En Fri, 11 Apr 2008 11:21:17 -0300, <corvettecraz92@gmail.comescribió: You will have to manually fix the long lines that were splitted/wrapped by the mailer program. As a rule-of-thumb, try...
1
by: Carl Banks | last post by:
On Apr 11, 12:08 pm, "Neil Cerutti" <mr.ceru...@gmail.comwrote: That depends. No, it's prudence. If I am writing a banal, been-done-a-million-times before, cookie- cutter text adventure,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.