Started editing and adding real content.

This commit is contained in:
José Carlos Cuevas 2013-06-01 23:56:44 +02:00
parent 8f75ed3ad4
commit 82255af112

View file

@ -68,13 +68,11 @@ app.get('/', function (req, res) {
database.each("SELECT * FROM players", function(err, row) {
console.log('Received a player row! Weheeeee!');
console.log(row.name);
var nextElement = players.length;
players[nextElement] = row.name;
console.log(players);
});
console.log(players);
res.render('index',
{
title: 'My Game',