Giter VIP home page Giter VIP logo

bitcoin-clicker's Introduction

Hi there 👋

If you can read this, then github pages prefers README.md over index.html

bitcoin-clicker's People

Contributors

dependabot[bot] avatar mablay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bitcoin-clicker's Issues

live data update

Currently, certain game stats are updated every day (game interval).

A higher refresh rate of said stats would yield a more convenient user experience.

Example: BTC Savings, Network hashrate and BTC price vary within a day and not just at the end of each day.

Since internally a reduction of state changes is desired, any user interaction requires a state update to avoid data inconsistencies. Example: view just used displayed that a product can be bought, while the game state still holds an insufficient balance. A purchase would fail unless a state change occurs right before the action. This would also requires some checks like "isAffordable" use state extrapolation to reflect the displayed game state.

Show components as they become relevant

At the beginning of the game, the screen is cluttered with unnecessary controls confusing the user.
Hide control elements / info text until it becomes relevant.

This could be realised by mapping show-requirements into the tech tree or a similar structure.

Example: "Rent a flat" should not be shown before space 10 / 10 is reached and new space needs to be acquired.

VueJS Progressive Web App shows blank screen

The PWA was created using the vue cli version 3.0.3 with PWA option selected.

Deploying to gitlab pages required vue.config.js:baseUrl to change from "/" to "//".

While develop and production deployments render as expected in Google Chrome Mobile and Desktop, installing the PWA on Android 8, yields only a blank screen while the console indicates no errors.

Expected behaviour: Application renders similar to the non-PWA version.

Acoustic feedback

Activities and events should be underlined with audible effects.

Ambient music would contribute to the game mood.

Mute all sounds option in settings

Bad readability of BTC trade volume

In History component,
use metric prefix to nominate BTC trade volume.

Change

sold 0.0001 BTC for $0.10 USD

to

sold 100 µBTC for $0.10 USD

Achievements

Show achievements to reward players and track progress.

Game Over when player can't pay his rent

If the players balance turns negative by paying monthly bills:

  1. Indicate imminent doom with due date (e.g: today + two weeks)
  2. Game over if balance is still negative on due date.

Unrealistic hashrates

By 2018, GPUs don't seem to yield more than 800 GHps.

Adjust tech tree accordingly.

Persist game status

The user should be able to leave the game (close the browser tab) and pick up later were he/she left at any later point without worrying about lost game status.

onbeforeunload + localStorage seems a good fit.

window.onbeforeunload = () => {
   window.localStorage.setItem('gameState', THE_GAME_STATE)
   return null
}

Activity Automation

The user should be able to research automation technologies for repetitive tasks like deployment.

A maintenance worker could deploy x devices in y time automatically while causing z costs.

Button progress stalls on navigation

Navigating from game screen to settings screen causes clockwork to halt.
Ongoing button progress is not properly resumed on game screen re-entry.
=> progress stuck, does not finish, cannot be canceled, dead end.
persisting progress on navigation via vuex might be a solution.

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.