Coder Social home page Coder Social logo

rps-rpg's Introduction

Rock Paper Scissor RPG ๐Ÿชจ๏ธ๐Ÿ—ž๏ธโœ‚๏ธ

------------------------------------------------Principle-------------------------------------------------------------

A rock paper game with rpg elements Players have a HP bar and take damage while playing

------------------------------------------------Class system--------------------------------------------------------

Players can choose a class at the start of the game (Knight, Warrior, Magician...) Classes give some types of buffs

Buffs can be like :

-8% damage on scissor attack -6% chance to evade rock attack

Players can regain health from landing attack with their prefer weapon (5-10%)

Knights will have buffs on precision with scissor, evasion against rock and will prefer scissor attacks Warriors will have buffs on damage with rocks, defense against paper and will prefer rock attacks Magician will have buffs on heal, damage with paper and will prefer paper attack

Ex of a match:

Warrior Knight ( ( -8% more damage with rocks VS -7% more scissor precision -5% less damage from paper -6% more chance to evade rocks ) )

Warrior Knight ( ( -7% more heal VS -9% more scissor precision -8% more damage with paper -5% more chance to evade rocks ) )

--------------------------------------------------------------Buff Management-----------------------------------------

The buffs will be random between a range from 5 to 10% Players have a 10% chance to miss attacks

HP bar = 100 one attack remove 10 to 15 hp When you game a buff in attack => base dmg + (buff*base dmg)/100

Heal bring a certain percentage of your health Buff on heal => heal% + buff%

Buff on precision => 10% - buff%

------------------------------------------------Precision system-------------------------- You start the game with a 10% chance of missing attacks Each hit you take increase it ny 5% simulating the fact of losing strengh

rps-rpg's People

Contributors

geekobueno avatar

Watchers

 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.