stefan-brus / capital Goto Github PK
View Code? Open in Web Editor NEWvanilla JS idle game
vanilla JS idle game
Idea: Add the hourly wage for the number of hours that the player was actually offline. Not sure how to deal with passive incomes. Maybe apply interest for each day?
Add a speed toggle to the top bar similar to the one in stellaris with 4 modes:
Look into "minifying" things, or at least combining them all into one .js file. Avoid external tools for now to keep the project "vanilla"
One shouldn't have to manually load every attribute of every piece of the game state
2 options:
Part of #11
Ideas:
Should probably be at the top under the header
Part of #3
This module is growing yuuge and should be factored into several smaller ones
Idea:
Part of #3
Idea:
Can be used to abstract logic for things like available jobs, current loans
This should then be used for career upgrade unlocks rather than the total capital
The overall style could use a lot of improvement. This issue can be closed when a final style is decided on and implemented.
Idea:
This is a big one as players can currently upgrade multiple times
The player should be able to remove unwanted ones as many jobs are quite undesirable. This should accomplish nothing but cleaning up the UI a bit at first.
For starters, a savings account that the player can deposit into and withdraw from.
Other ideas:
Mockup:
Next upgrade at [threshold] saved [Increase interest [price]]
Threshold should increase 10-logarithmically, so the first upgrade can be bought at $1 saved, the next at $10 saved, the next at $100 saved, and so on.
Price should increase 2-logarithmically, so the first upgrade can be bought for $1, the next for $2, the next for $4, and so on.
Create a tooltip UI component, and perhaps an info UI component that's a hoverable ? or something.
Idea:
This is just to give the game some kind of end for the 0.1 release
Ideas:
Examples:
Part of #2
The idea is to add the game logic for flavor such as job names and descriptions without having to add much flavor first. Flavor can then be added gradually.
Add a data folder with a jobs.js
. Turn this into proper json later.
The contents should look something like:
const jobs = {
"jobs": [
{
"name": "Janitor",
"description": "You sweep the office floors",
"minLevel": 0,
"maxLevel": 2
}
]
}
Read the jobs into some data structure where a job name and description can be randomly selected by level.
Idea:
Both model and view need to be addressed. See if a common interface for career upgrades on both levels can be designed.
New UI component for things that only display text
Idea:
Once a max number of loans is reached, something should happen. This needs to be addressed because many loans causes the game to slow down tremendously.
Ideas:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.