conradojordan.github.io's People
conradojordan.github.io's Issues
Add button to battle same monster again
A button to battle the same monster again would be convenient, since usually one battles the same monster multiple times
Increase chance to get gold coins from monsters
It is kinda boring to not get anything from the monsters. This should happen not often (but still it should).
We can fix that by increasing the change to get gold coin from monsters.
Add event handlers to strategic places in the game
The game could have "event handler"-type functions that would handle events on strategic places. What do I mean by strategic places: before a battle, after a battle, before leveling up, upon entering the store, upon leaving the store.
Then items and other things could have effects like "for 3 times you visit the store, all prices will have 10% discount" and add this event to the "enter store event queue" and when entering the store, the event handler function would always run and handle events from this queue (that can be simply some global variables).
Make monsters more difficult if you die to them
I'm not sure if this is a good idea. Also, I'm not sure how hard it would be to implement it, I have not given the time to think about the implementation.
Nerf monsters experience
Monsters are giving too much experience, it is too easy to level up.
Also, when adding the "battle same monster again" it will be even easier to get experience, have that in mind.
Make the battle logs show only the last X logs so it doesn't get too big
Add something to generate gold over time
This is just an idea. Something the player could "invest" in (not necessarily a classical financial investment) something that generates gold over time. A simple random idea: the player could purchase an animal companion that goes hunting and retrieves things from time to time.
This is a proposal, meaning I am still not sure if this should be in the game or how it should be implemented. If you take this issue, take the responsibility of thinking about this mechanic.
Show battle turns visually
It would be nice to show the battle turns visually with a clock emoji that ticks or something similar
Nerf loots
Loots are a bit too easily obtainable (and maybe too strong? but this could be thought about more with tests)
Order weapons and shields by strength
Add more monsters and loot
More monsters and loot can easily be added by editing the enemies.js
and items.js
files
Add crafting to the game
This is a mechanic that could be added to the game. Some ideas: crafting materials could be dropped from monsters. Or another idea is to add another area of the game to go "mining" or something like that to get crafting materials. After that the player could craft some nifty items.
This is a proposal, meaning I am still not sure if this should be in the game or how it should be implemented. If you take this issue, take the responsibility of thinking about this mechanic.
Use local storage instead of cookies
Change the way to store game state from cookies to local storage.
Difference between cookies and local storage: https://medium.com/swlh/cookies-vs-localstorage-whats-the-difference-d99f0eb09b44
How to use local storage: https://blog.logrocket.com/localstorage-javascript-complete-guide/
Add classes/races
The game could maybe use some class/race mechanics to make it more interesting.
Things that a race/class could affect:
- How stats advance with each level (and health as well)
- Items each class/race could use
- Some spells, or regen out of battle, idk
- More
This is a proposal, meaning I am still not sure if this should be in the game or how it should be implemented. If you take this issue, take the responsibility of thinking about this mechanic.
Decrease gold quantity from stronger monsters
They are dropping perhaps too much gold at the moment
Add elements of idle game
The game could use elements of an idle game. For example, you could make your character do an "excursion" or "journey" while you are away not playing the game. And after a few hours the character can come back with, hopefully, more items/exp/etc (if it is successful, it can have a certain percentage of failing).
Refactor code
As of now, the code uses the gs
(game space) global variable too much. I think instead of using a global variable, all functions could take an HTML element as parameter (which will usually be gs
) and return a modified version of it.
Add food or potions
The game could use some food/potion mechanics. Maybe they could be bought from the store and used in battle to heal. Or they could be used to heal out of battle as well?
This is a proposal, meaning I am still not sure if this should be in the game or how it should be implemented. If you take this issue, take the responsibility of thinking about this mechanic.
Change combat formula
I'm not sure the combat formula is the best one. Some testing and changing might be good.
Maybe diminish the damage spread? But, again, I'm not sure
Make monsters stronger
When getting levels and items, monsters are too easy.
We should test how difficult the monster is by battling him with the lowest level a player can battle him and without items. In this condition, it should be hard to win against the monster (probably impossible, since the player already start with items).
When the player has an ok level and ok items, it should still be somewhat difficult.
When the player has good level and good items (compared to the monster), just then the battle just be easy. But still the player should suffer some damage if possible
Add more items
We should add more item types and things items could do. Like some boots that increase the chance of successfully fleeing a battle and things like that.
Add shop functionality
It should be able to sell and buy items (duh). The items already contain a value each, this could be used.
Make sure to put the value that the NPC buys your items for lower than he sells them. Maybe he could sell the items for full value and sell them for half of the value. NPCs are greedy!
Add some item that prevents/reduces death penalty
Title pretty much says it all.
This is a proposal, meaning I am still not sure if this should be in the game or how it should be implemented. If you take this issue, take the responsibility of thinking about this mechanic.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.