Giter VIP home page Giter VIP logo

mobile-network-game's People

Watchers

 avatar  avatar  avatar  avatar  avatar

mobile-network-game's Issues

Tower price stored in JS, not HTML

Currently, the price of a tower (of any type) is taken from the contents of #towerPrice and updates to the price update the contents of #towerPrice. This is problematic if we want to show the same price in multiple places and is not good code organisation. We also don't have a system to give different towers different prices because of this.

It would be better if the price of a tower were stored as a variable, or an array used to store the prices of each type of tower. These values would still have to update relevant parts of the page when they are changed (say, all elements with classes tower1price, tower2price, or perhaps towerPrice1, towerPrice2).

This HTML vs. JS issue also applies to the balance and the month, although fixing these is less of a priority since we don't currently display them in more than one place. However, these may need fixing when stuff from the sidebar is moved into help/game start/game over screens.

tuning of parameters and functions

To be done in the last step (after implementing other features/tasks).

  • more initial balance (but constraint on number of towers you can place?)
  • cost function
  • population increase

Improve map generation

  • Appropriately scale roadmap node coordinates for the OSM query boundary box parameters
  • Filter out roadmap connected components with sufficiently low node count
  • Colour or otherwise enhance background roadmap svg

time elapsed doesn't pause when window is onblur

  • game "pauses" when window.onblur (by setting sprite speed and call probability to 0)
  • but time elapsed doesn't pause
  • player can get longer time recorded than their actual survival time

this issue has been mentioned by someone else earlier in Slack. I'm opening it here on Github so we don't forget about it.

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.