because it still takes only one spin to destroy the machine and free the helpless animal trapped inside. As with Sonic 1, each busted bot is worth 100 points, but the score multiplies with each enemy destroyed in a single spin: 200 for two, 500 for three, and 1,000 points for each ...
The script fetches the value stored in the key, multiplies it with the multiplier value and returns the result.>>> r = redis.StrictRedis() >>> lua = """ ... local value = redis.call('GET', KEYS[1]) ... value = tonumber(value) ... return value * ARGV[1]""" >>> ...