GithubHelp home page GithubHelp logo

dungeon-hero's Introduction

dungeon-hero

This is a role-playing game that you can experience right in your console! Amazing right? Explore the dungeons, slay the beasts, gain levels and win! Or die. We all know that's gonna happen sometime...

To launch the game you'll need:

  • Git
  • Java 8
  • Maven

If you're okay with that, then do the following to play the game:

  1. Checkout the repo
  2. Run mvn clean package
  3. Run java -jar target/dungeon-hero.jar 'Your name here'
  4. Follow the onscreen instructions
  5. Have fun

Good luck with not dying!!

P.S. Spoiler

It looks like that:

  • Show your charachter info
> i
Innokenty
===== LEVEL ================
1
===== SKILLS ===============
Strength => 1
Agility => 1
Health => 1
Vision => 5
===== EXPERIENCE ===========
total => 0
next level => 0/2000
===== CALCULATED STATS =====
HP => 22
damage => 1-3
  • Show the map:
> m
.........
.+-----..
.|o     .
.|     ..
.+---+ ..
.|...| ..
.+---+...
.. ......
.........
  • Go to the right:
> ddd
.............
..---------..
.|    o 1   .
..      +--..
..---+  |....
.....|  |....
...--+  |....
...... ......
.............
  • Wow, a monster! Let's slay the beast!
> dd
You are now fighting with a savage beast! Oh, my brave hero, please be careful!

Innokenty
HP => 22/22
damage => 1-3
=========== VS ===========
Ant-tiger
HP => 10/10
damage => 1-2
  • Punch it!
> pppp
You punch the beast as hard as you can, you deal 1 damage.
The creature doesn't stand still though and hits you back dealing 1 damage!
You punch the beast as hard as you can, you deal 3 damage.
The creature doesn't stand still though and hits you back dealing 2 damage!
You punch the beast as hard as you can, you deal 1 damage.
The creature doesn't stand still though and hits you back dealing 2 damage!
You punch the beast as hard as you can, you deal 3 damage.
The creature doesn't stand still though and hits you back dealing 1 damage!
> p
You punch the beast as hard as you can, you deal 1 damage.
The creature doesn't stand still though and hits you back dealing 1 damage!
> p
You punch the beast as hard as you can, you deal 1 damage.
The creature doesn't stand still though and hits you back dealing 2 damage!
Oh yeah, you've done it, you slaved the beast! You gain 1177 experience.

Unfortunately 1177 exp is not enogh for the level two, so... you'll need more monsters! Good luck, my hero!

dungeon-hero's People

Contributors

innokenty avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.