Sign inSign up

alexandreprates/text_adventures

By alexandreprates

Updated about 9 years ago

Test automated build

Image
0

189

alexandreprates/text_adventures repository overview

=Text Adventures

{Build Status}[https://travis-ci.org/alexandreprates/text_adventures] {Coverage Status}[https://coveralls.io/r/alexandreprates/text_adventures] {Inline docs}[http://inch-ci.org/github/alexandreprates/text_adventures] {Dependency Status}[https://gemnasium.com/alexandreprates/text_adventures]


Text Adventures is a text RPG with randomly generated dungeons.

Explore the ruins, confront incredible creatures and increase the power of your character. All directly from your browser.

==Starting Server

Runing on top

bin/text_adventures_server

Running as daemon

bin/text_adventures_server start

Stopping daemon

bin/text_adventures_server stop

==How to Play

Into browser access:

http://localhost:8080/

You will be redirected to an url like:

http://localhost:8080/c941548e237c2c34c670e9d147dad5c6

This is the URL of your game, save it to continue your adventure whenever you want.

=Planning Gameplay

==Begining (Town)

Welcome to Text Adventures

You are now on the town of Nee'Peh

Here you can: go Tavern - small talk, some Ale and Potions go Aluriel's Priest - here you can cure deseases, recover health, buy and sell tomes go Blacksmith - buy or sell weapons go Armorsmith - buy or sell armors go Ruins - where your adventure begins

What will you do now?

_

===Go into Blacksmith

_go blacksmith Welcome, adventurer to buy or sell weapons here is the right place!

That you want: show - view merchant goods buy - buy something sell - sell item

_sell sword Well i can give you 10g for this Sword (Atk: 10).

That you want: agree - sell item no - keep item

_agree You sold Sword (Atk: 10) at 10g. [1x Sword (Atk: 10) removed to inventory] [your gold is now 120]

_sell leather armor Sorry bud, but I have no interest in this item.

_show Here bud, take a look at these incredible goods! 1x Sword (Atk: 10) - 15g 1x Bastard Sword (Atk: 25) - 30g 1x Spear (Atk: 22, Def: 5) - 50g 1x King's Nep Sword (Atk: 50) - 500g

_buy king nep's sword Sorry but you dont have enough money for this.

_buy spear Excellent choice its yours for mere 50g.

Select your answer: agree - buy it no - forget it

_agree You bought Spear (Atk: 22, Def: 5). [1x Spear (Atk: 22, Def: 5) added to inventory] [your gold is now 70]

_

==Inside the Ruins

You are now inside the Ruins Level 1

Here you can: go <up|right|down|left> - to move around look - to examine your surroundings attack - to attack an enemy (yes this really is an adventure) spellbook - show the spells you can cast cast - to cast a powerfull spell loot - to collect your prize after the battle invetory - to show what you carry in our bags equip - to equip item use - to use item drop - to leave an item (not everything is helpfull)

######  <- this is the dungeon wall
######
## x    <- this is you
######
######

Good luck and have a great adventure!

_

==Battle

_look You see a Giant Spider A Giant Spider is about to attack you!

_attack You Slash a Giant Spider with Bastard Sword causing 10 of damage. The Giant Spider attacks you with a Bite causing 3 of damage. [your life is now 23]

_cast fireball You burn Giant Spider with fireball causing 30 of damage. The Giant Spider attacks you with Poison Bite causing 1 of damage, and Poison you! [your life is now 22]

_attack You Slash (Critical hit) a Giant Spider with Bastard Sword causing 25 of damage. The Giant Spider die. You feel the effect of Poison! You lost 2 hp. [your life is now 20]

_spell cure The effect of Poison is over.

_spell heal You feel the effect of Heal! [your life is now 33]

_loot You found a Tome of freezing. [Tome of freezing added to inventory]

_

==Learn a Speel

_inventory currently you have: 1x Sword (Atk: 10) 2x Tome of Ice Bolt 3x Potion of Heal (Recovery 20 Health) 1x Leather Armor (Def: 20)

_use tome of ice bolt You learn spell Ice Bolt (level 1) - Freeze you enemy casing 5~10 of ice damage, with 2% chance to freeze your enemy

_spellbook Your can cast: 1x Heal (level 1) - Recovery 1030 of health 1x Fireball (level 1) - Burn your enemy causes 1222 of fire damage 1x Ice Bolt (level 1) - Freeze your enemy causes 5~10 of ice damage, with 2% chance to freeze your enemy

_use tome of ice bolt You learn spell Ice Bolt (level 2) - Freeze your enemy causes 8~18 of ice damage, with 3% chance to freeze your enemy

_spellbook Your can cast: 1x Heal (level 1) - Recovery 1030 of health 1x Fireball (level 1) - Burn your enemy cause 1222 of fire damage 2x Ice Bolt (level 2) - Freeze you enemy casing 8~18 of ice damage, with 3% chance to freeze your enemy

_

=Roadmap

Tag summary

Content type

Image

Digest

Size

84.3 MB

Last updated

about 9 years ago

docker pull alexandreprates/text_adventures