Code Monkey home page Code Monkey logo

naco's People

Contributors

dankeemahill avatar wilbertom avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

naco's Issues

showInfo function tweaks

The CityContentView view is a wrapper around the previous way of rendering city ```

template: _.template('\
        <h3><%= cityData.title %></h3>\
        <h5><%= cityData.geography %></h5>\
        <div style="font-size:12px">\
            <span>\
                Population:\
            </span>\
            <%= cityData.population %> \
            </br>\
            <span>\
                High school graduates:\
            </span>\
            <%= cityData.graduates_percent %>\
            </br>\
            <span>\
                Unemployment rate:\
            </span> \
                <%= cityData.unemployment_percent %>\
            </br>\
            <span>\
                GDP per capita:\
            </span>\
            <%= cityData.gdp %>\
            </br>\
        </div>')

The classes good and bad need to be added again. I couldn't do this my self because I don't know the criteria used to distinguish between the two. After defining we could add some conditionals to dynamically choose span classes.

Also the:

var juarezLoc = new google.maps.LatLng(31.58847937271219, -106.60514831542969); // are these the citie's coordinate? if so we can use the paso.plot() method

and :

    var pasoLoc = new google.maps.LatLng(31.693119,-106.316285); // are these the citie's coordinate? if so we can use the paso.plot() method

lines are plotting the content views. If the latitudes and longitudes are the same as the city's lat and longs then we could use the new CityModel.plot() method for example:

var pasoLoc = paso.plot();

Footer

Should we have some footer content to improve the visual aesthetic?

admin

Fernando's idea: allow an administrator to add levels or create new games by providing city data and a border line.

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.