sbordeyne / rpg-text Goto Github PK
View Code? Open in Web Editor NEWAn object-oriented text RPG
License: MIT License
An object-oriented text RPG
License: MIT License
Monsters available in the Basic and Expert rulesets of OD&D should be serialized into computer-parsable JSON format. (monsters.json)
not much of an issue with the code itself I would just like some more documentation on how to use it
the time/date doesn't quite match, need to rethink the calculations.
Hi,
there is no documentation or usage examples (here I mean there isn't any instruction how to use). Can you provide some?
Greetings,
Michał.
The goal is to use Markov Chains to generate natural language in specific scenarii, whether it's about combat, locations, npc interactions (like greetings, and buying / selling items, not specific story-required dialogue) and so on.
This is totally a side feature, something neet to have, but will require a lot of work to be able to make a large enough dataset to be able to generate natural sounding sentences.
Dialogue system should include :
Easy enough, I changed my mind, and will move to a spell per day system to better fit the rules of OD&D.
In treasures.json, need to serialize treasures G-V according to page 46 of the DM's handbook in OD&D
Support for submaps is required.
They should have the same format as a regular map, and may have submaps of their own (useful to specify different levels in a dungeon, or floors in a house)
Command to enter a submap : enter <submap-name>
Items from OD&D, equippable or not should be serialized in items.json, including magic items defined in loot_tables.json
can someone here pls transform a game for mobile could ''simplest rpg gametext adventure on pc version'' ple.
My Python version:
$ python3 -V
Python 3.7.3
I ran python3 main.py
from the root of the repo. I entered New Game
.
Then:
Please enter your character's name.
> Bob
Please enter your desired job (thief, wizard, warrior, cleric).
> warrior
HP : 1 ; MP : 3 ; STR: 16 ; INT: 11 ; DEX: 9 ; CHR: 13 ; CON: 11 ; WIS: 12
Sum : 72
Are you satisfied with these stats?
Please enter 'yes', 'no', 'reroll', 'save', 'recall' or 'info'
> yes
>
Traceback (most recent call last):
File "main.py", line 12, in <module>
main()
File "main.py", line 8, in main
game.next_turn()
File "/Users/kenny/@code/rpg-text/rpglib/game.py", line 34, in next_turn
while not self.command_system.parse(command):
File "/Users/kenny/@code/rpg-text/rpglib/command_system.py", line 53, in parse
cmd, *cmd_args = command.split()
ValueError: not enough values to unpack (expected at least 1, got 0)
For the last prompt I just hit Enter.
JSON file resulting from saving seems to be unreadable. Linters didn't pick up syntax errors, so I assume that it must be due to poor use of json's api. Will investigate.
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.