Giter Site home page Giter Site logo

rpg-combat-durability's Introduction

https://rpg-combat-durability.seamusdonahue.repl.run <Link to the game.

# rpg-combat-durability
the github project for my repl.it project: "rpg combat durability"!

I made this project because I wanted to challenge myself to use python classes in a useful way! it became really fun to develope and eventually I added durability!
the original game didn't have durability, you can find that version in my repl.it profile (seamusDonahue) under the name rpg combat lite. I saw durability as a big
enough change that I forked the project to make this one
eventually I abandoned the old project and kept updating this!
thats when a repl user by the name of funnylamma joined me for developement (his current repl profile is called thewaydu). 
from there I just kept adding features untill we have what we have here, where I made a github for it!

#gameplay
--
in this game you can heal change weapon flee and attack during combat
then buy stuff in the shop between battles
#ac system
ac works like this:
 ac is a nubmer between 1 and 0 (being a decimal percentage.)
 if the enemy ac is bigger then your weapons ap, (in the code mislabeled as hitchance) the enemy will not take their ac percent of damage (so 0.5 would absord 50% damage)
 if the enemies ac is lower then your weapons ap, the enemy absorbs half of their ac in damage (so 0.5 will only absorb 25% of all damage)
these rules also apply to you
#levels
 you get xp every fight for winning (not for fleeing, coward!)
 when you level up your hp goes up along with your xp
 on top of that you get bonus gold depending on the level (lvl 1 gives 100, lvl 2 give 200 ect)
#food
food will heal you up to full hp during a fight (i do plan on updating this in the future so don't be suprised if this info becomes inaccurate)
everytime you goto the shop you may buy some!
everytime you buy food it goes up by half its cost (so 50 in half is 25 so the new price is 75)
#weapons and durability
all weapons do different damage, have different flavor text and have different durability
when durability runs out, your weapon breaks and you need to equip anew!
#tnt
tnt is a special kind of weapon.
it has 1 durability (referred to ingame as the ammount you have) and everytime you buy it, it gains a durability point
it does high damage but is expensive
#cheat codes
when naming yourself, you can name yourself many things that do stuff.
I call these cheat codes!
warning! achievement progress cannot be saved if you use cheats
oh you want me to tell you what they are? find out yourself ;)
#more update scoming soon!
#most importantly have fun!
Ps: We are currently working on a new save file so we can actually save your game progress, hopefully it will be released soon.

rpg-combat-durability's People

Contributors

seamuskills avatar thewaydev avatar ttury avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

rpg-combat-durability's Issues

new feature: rings

I have been thinking about it for a while, I would like to add rings.
rings have temporary buffs. my Idea is you can buy 4 kinds of rings, unenchanted, armor, health, regeneration.
more rings can be added later.
you may only equip one, but own as many as you like (but only one of each type).
current ring variant ideas:
armor: temporary ap bonus (ring degrades over a certain amount of turns)
health: temporary maxhp upgrade, degrades whenever hurt (when equipped it restores your percentage of hp so if you had 50/100 going to 150 maxhp your current hp would be changed to 75hp)
regeneration: every combat turn regens 5% of your hp, low durability, degrades every turn.
unenchanted: this is what degraded rings turn into, you may enchant them in the shop to turn into a random other ring type, this is the only type directly purchasable

this is planned unless you veto it. feedback on my ideas is appreciated!

Idea

This could maybe be in interesting discord bot, I know how to make bots on discord. This could be RPG bot.

Ideas for updates 2

These are more ideas,

  • New weapons for late game.
  • Abilities for weapons.
  • New menu so you can choose where to go, shop, main menu, etc.
  • New building idea, bank.

Idea #3

  • Armor.

  • Ability to save your progress.

Idea #5

  • Monster Drops

  • Collectible Items.

  • Helmet

Bug With Shop

This is a very minor bug, but when you repair a weapon in the shop, it turns the welcome to the shop text green.

Hash algorithm

We probably will need an actual hash/encryption algorithm for save files. the current one isn't very hard to crack and so anyone can spend less than a minute decoding and deleting the file.

I will do some research on it later when I have time, I just wanted to post this issue outlining what we need

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.