Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mefellows/code-club-python-text-rpg
Text-based RPG game mini-framework
https://github.com/mefellows/code-club-python-text-rpg
Last synced: 14 days ago
JSON representation
Text-based RPG game mini-framework
- Host: GitHub
- URL: https://github.com/mefellows/code-club-python-text-rpg
- Owner: mefellows
- License: mit
- Created: 2017-11-16T11:24:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-23T22:53:36.000Z (about 7 years ago)
- Last Synced: 2024-11-06T16:50:22.225Z (2 months ago)
- Language: Python
- Size: 219 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Realm: Text-based RPG framework
Text-based RPG game mini-framework
Runnable at: https://trinket.io/library/trinkets/65decfffda
## Game Design \ Rules
* Game
* Variables
* Character
* Health: int
* Inventory: [array of strings]
* Current scene (save): map
* scene: int
* health: int
* inventory: [string]
* Scenes - [array of Scene]
* Contains all scene information for the entire game (essentially the game map)
* Functions
* Navigate
* Responsible for navigating between scenes/battles
* Fight
* Takes the current health, inventory + the battle
* Knows how to do “play by play” moves
* Once a fight starts, there is no going back
* Cannot save mid-fight?
* Scene
* Description text
* 2 choices
* Each choice takes you to a scene OR a battle
* Contains the rules/logic to move between other scenes or battles
* Battle
* Another type of scene, with specific moves
* Actions available
* Leave battle?
* Fight
* Contains the options available after a successful battle
* Boss
* Health
* Damage associated with each attack
* Character
* Health: int
* Inventory: [array of strings]
* Weapon
* Damage associated with each attack