The Dot Game is a wholehearted copy of the original SameGame, except for one difference. Both the original and the dot say you get a bonus for leaving fewer dots left at the end, but until now, that wasn’t true for my version. I just couldn’t figure out the bonus calculation. Well, it took me a bit of playing, but I deciphered it:
var bonus = num_dots_left > 0 ? FLOOR(125/num_dots_left) : 250;
Simple huh? Now you’ll get those extra points you’ve been missing out on. By the way, does anyone play? What’s your high score? Should be higher now.
Subscribe to comments feed (this is global, not just for this entry)
Endeavoring to be more of a producer than a consumer, ran across Project Euler which looks to be low friction but somewhat useful and interesting. Unfortunately their register/login system is broken: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource inĀ /home/admin/domains/projecteuler.net/public_html/includes/login_preprocess.php on lineĀ 11 So I’ll keep track on my own blog I guess [...]
Soldiering on with Aptana, fighting as I go, here’s how I was able to set up automatic synchronization between my project and a remote server accessed through a mounted/mapped drive. Set up your project Set up your remote preview server Set up an (S)FTP deployment connection, make sure you check “Automatically sync my changes” Go [...]
At work we are stuck with Subversion 1.4 clients (cough, Dreamweaver, ahem), so any new IDE I try has to use the SVN 1.4 api and format. Every 6 months or so I like to test drive IDEs, but most new editors and IDEs long ago gave up support for SVN 1.4 (except for PHPStorm, [...]
[...] So the Dotgame is exactly like the original SameGame, except for one thing (and my less-than-optimal graphics abilities). At the end of the phone version, you get bonus points for having fewer dots left, but I haven’t figured out the value pattern for that. A few test games shows the following: Dots-Left/Bonus 19/6 16/7 10/12 8/15 4/31 If anyone sees the pattern, let me know. I’m sort of slower and stupider these days. [update]The bonus was rather simple.[/update] [...]
April 23rd, 2007 at 7:36 pm