Skip to content
SnakeDemocracy — RIGHT. LEFT. VOTE.
JavaScript Shell
Latest commit c152289 Sep 23, 2012 @lorancou Server crash fix
Failed to load latest commit information.
files Make it fit Sep 23, 2012
pokki Pokki manifest fix Sep 3, 2012
.gitignore Ignore some more files May 15, 2012
.rsyncignore Tweak ignore files Feb 6, 2012
LICENSE_CC Fix perms Jan 30, 2012
LICENSE_GPL Fix perms Jan 30, 2012
README.md Following the trend... README.md Aug 7, 2012
TODO.md Update TODO.md Sep 4, 2012
about.html Re-enable GA May 13, 2012
build.js SFXs + graphs update + fix persistent hover effect Feb 15, 2012
build.sh E-mail embryo Sep 3, 2012
channel.html Facebook electors college Feb 10, 2012
cheat.html Tweak for faster gameplay Sep 2, 2012
client.js Count registered voters Sep 23, 2012
common.js Functional mailer Sep 12, 2012
faq.html Re-enable GA May 13, 2012
getdepcache.sh More automation Feb 6, 2012
index.html Added more cities to timezones Sep 23, 2012
node_env_dev.sourceme.sh Log Sep 3, 2012
node_env_prod.sourceme.sh Log Sep 3, 2012
package.json Fix packages deps Sep 3, 2012
redirect.html Punctuation that matters Feb 2, 2012
server.js Server crash fix Sep 23, 2012
server_mailer.js Count registered voters Sep 23, 2012
server_scores.js Merge mailer embryo Sep 3, 2012
server_twitter.js Restore tweet for apples Sep 3, 2012
test.sh Simple test sync script Sep 4, 2012
twittertest.js Use #snake Feb 9, 2012
upload_prod.sftp Fix prod upload Sep 2, 2012
upload_prod.sh Syntax fix Sep 2, 2012
upload_test.sh Trim more useless JS Feb 6, 2012
upload_test_nopush.sh Higher rev, restore pause timings Sep 2, 2012
vec2.js More automation Feb 6, 2012

README.md

SnakeDemocracy

LEFT. RIGHT. VOTE.

"We won't tolerate the dictatorship of one snake player anymore"
(Abraham Lincoln)

You like the good old game of "snake"? Turning left and right, growing, staying alive the longest you can?

But how would you feel about sharing the control... WITH THE PEOPLE?

In the web-game SNAKE DEMOCRACY, an unlimited number of players can join the ride and VOTE to decide where the snake should go next, knowing that a new move occurs automatically every 4 seconds, forward by default. Better yet, we provide a Twitter feed so you may call your friends upon this FUNDAMENTAL CIVIC DUTY (Unless you're a totalitarist dictator and want to play on your own, of course)... Also, every #snakedemocracy tweets bring MORE APPLES on the field!

And beware, to make a highscore, you must have the longest snake AND CONFIRM your score by biting your own tail... So chose wisely when this should happen, because the longer you will be, the harder it will be to stay alive!

(Almost democratic tip: every player can vote as much as he wants during the 4 seconds "election of the next move", by mashing a directional key... So an especially convinced voter may very well tip the balance in favor of his party)

Copyright (c) 2012 Christophe Zerr, Alexis Moroz, Laurent Couvidou

License - Software

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (LICENSE_GPL file). If not, see http://www.gnu.org/licenses/.

License - Assets

Assets are licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License (CC BY-NC 3.0).

You should have received a copy of it with this program (LICENSE_CC file). If not, see http://creativecommons.org/licenses/by-nc/3.0/.

Known issues

There are some paranoid security software around that prevent socket.io from working correctly (like this one: http://housecall.trendmicro.com/). There's nothing that can be done about this.

Something went wrong with that request. Please try again.