Built my first Google Homepage module |
Google Homepage API. A developer walk-thru example with hello world is here.
I decided to take some time today and build my own fun Google Homepage module: TD Keno v0.1. It’s a take on one of my wife and my favorite casino games: Keno, and now you can play it for free on your Google homepage. This has been submitted to Google, but I have no idea if it will make their cut or not. So far the only modules on their website are from Google themselves, but this was just announced yesterday so they are probably still sorting out submissions.
TD Keno v0.1 has been tested and works in current versions of IE, Firefox, Safari and Opera. To add to your Google homepage just do the following:
1) visit and login to your Google account at http://www.google.com/ig/
2) in the upper left corner choose “Add Content”
3) in the “Create a Section” type developer.xml and click “go.” This will give you a new “My Modules” screen. While tihs step is optional, it is also useful if you want to create your own Google Homepage modules.
4) Add the following module: http://www.tdscripts.com/scripts/google/tdkenov01.xml
5) Now you can move the module wherever you want on your custom Google Homepage and start playing.
How to play
You need to enter at least one number (to a maximum of 6 numbers) from 1-80 and then click the “Add” button. If you make a mistake or want to choose a different number just click “Clear” and type a new number. When done selecting your numbers, click the blue “Play!” to start playing. Each player starts with a score of 25 and the following odds/payouts are used:
1 spot
– catch 1 odds: 4 to 1 win 3
2 spots
– catch 2 odds: 16 to 1 win 12
3 spots
– catch 2 odds: 7.20 to 1 win 1
– catch 3 odds: 72.07 to 1 win 42
4 spots
– catch 3 odds: 23.12 to 1 win 3
– catch 4 odds: 326.43 to 1 win 120
5 spots
– catch 3 odds: 11.91 to 1 win 1
– catch 4 odds: 82.69 to 1 win 10
– catch 5 odds: 1550.56 to 1 win 800
6 spots
– catch 3 odds: 8.46 to 1 win 1
– catch 4 odds: 34.31 to 1 win 3
– catch 5 odds: 323.03 to 1 win 85
– catch 6 odds: 7752.84 to 1 win 1,500
If your score reaches zero, don’t worry, no ATMs necessary, the game will automatically reset to 25 again. You can also just refresh the page and start anew. The number of games played in each session will be recorded but it doesn’t currently remember scores from session to session. Perhaps in v0.2 if enough people are interested I’ll add that functionality.
My best so far is catch 4 out of 4. Let me know how you do, especially if you catch 5 or 6. There is a special message for catching all numbers. Have fun!
Related Posts- Once, twice, three times the Keno lady!
- Unofficial GoogleModules.com site launches
- Google module that shows Site Meter stats
- 4 different widget avenues for developers
- First look at Nintendogs: Daschund and Friends
- Searching for useful widgets




It’s working for me.
Comment by Tejas Patel — December 16, 2005 @ 5:23 pm PST
How about making a keyboard shortcut or some other mechanism where we can configure to click certain no. of times automatically ;). I am clicking more than I should
and might have to buy a new mouse soon the way I am clicking.
Comment by Tejas Patel — December 16, 2005 @ 5:28 pm PST
LOL, good idea for next version, Tejas!
Comment by TDavid — December 16, 2005 @ 7:26 pm PST
So far, my best of 4 of 4. It’s addictive especially when you never go to casino :).
Comment by Tejas Patel — December 16, 2005 @ 8:39 pm PST
[…] How about that for a birthday present yesterday, Kara got got 6/6 on my TD Keno game yesterday three times. Wow. The odds of doing that even one time aren’t very good, much less three times. […]
Pingback by Make You Go Hmm: » Once, twice, three times the Keno lady! — December 18, 2005 @ 4:25 pm PST
[…] I went ahead and submitted my first Google Homepage module, the most current version of TD Keno v0.2 which now has support for picking up to 8 numbers. You can vote or leave comments for it over there, good or bad. Or comment here, whichever you prefer. yactions.buildButton( ’save’, ‘My_Web’ ); […]
Pingback by Make You Go Hmm: » Unofficial GoogleModules.com site launches — December 21, 2005 @ 6:48 pm PST
Tejas - v0.3 is now available here with the multi-play game feature you asked about (1, 5, 10 or 100 games at a time). Get the v0.3 here: http://www.tdscripts.com/scripts/google/tdkenov03.xml
Players can now choose up to 10 numbers instead of 6 and there is some session stats displayed.
Comment by TDavid — December 21, 2005 @ 11:37 pm PST
That’s cool. I really like the feature of stats and where I can click once and it will play over 100 times. Way to go. By the way I emailed you about something else as well today.
Comment by Tejas Patel — December 22, 2005 @ 2:11 am PST