Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (17 sloc) 618 Bytes
Freifunk node highscore generator
Copyright (C) 2012 Anton Pirogov
Licensed under the GPLv3
requirements: ruby 1.9.3, sinatra gem
run with: ruby ffnodegame.rb
look over settings.rb and change the password before launching!
default settings:
The server loads the nodes.json data every hour and gives points to Freifunk nodes
gateway status: +100
each currently connected client: +25
each vpn link: +(10/quality)
each meshing link: +(50/quality)
node is offline: -100
reset scores with: http://localhost:port/reset?pw=<password>
force update with: http://localhost:port/update?pw=<password>