 
 	Ui.card !->
 		renderButton buffer
-		renderMagic buffer, localScores
+		renderMagic localScores
 		renderFunny()
 
 	Obs.observe !->

				Db.shared.incr 'counters', App.userId(), bufferedClicks
			buffering.set false

renderMagic = (buffer, localScores) !->
	Obs.observe !->
		if localScores.get('counters', App.userId()) is MAGICNUMBER
			Dom.div !->
				Dom.animate
						create:

Plugin = require 'plugin'

BUFFER_TIME = 1000
MAGICNUMBER = 300

exports.render = ->
	# create local copy of the scores
