dankeemahill / naco Goto Github PK
View Code? Open in Web Editor NEWBorder cities quiz game built for Migrahack
Home Page: http://danhillreports.github.io/naco/
Border cities quiz game built for Migrahack
Home Page: http://danhillreports.github.io/naco/
and add their routes + views
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();
sketch.js?
Should we have some footer content to improve the visual aesthetic?
Crime, data points that predict which side of the border
Fernando's idea: allow an administrator to add levels or create new games by providing city data and a border line.
so we don't have to parse the model to have better names
draw to win!
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.