ekmett/lens — pull request #12 by nandykins (2012-08-09 17:39:32+00:00)
Title: Better difficulty scaling for Pong.hs

This is based on a 3rd degree polynomial curve; the values picked set the scaling to reach the cap of 0.1/0.9 when the CPU is 10 points ahead/behind; and at about 0.7/0.3 when the CPU is 3 points ahead/behind. If both players are even, the difficulty is 0.5.