Feed on
Posts
Comments

I’ve finally launched it. screenshot.jpg

15Gammons is an online realtime backgammon website. Its backend is written entirely in Python using TurboGears and Twisted.

In fact, it is the first TurboGears project I’ve started (over 18 months ago); and the last one I ended… I finally had the time to give it the final touches and open it to the public.

Back in 2005 I learned, together with everyone else, that web browsers are capable of doing much more than they were originally designed to do. Javascript libraries were popping out every few days giving drag and drop and animation effects. Everyone were talking about AJAX. I couldn’t stop myself from starting to code a game using the latest tools at the time.

15Gammons utilizes the so-called Comet technique of streaming events to the browser over a long-lived HTTP connection for achieving low latency. The Comet part is written using Twisted. I am planning to share some useful code in a later post.

The user interface was written using the Script.aculo.us library. Flash is not required, but is optional if you like sound effects.

Check it out - play backgammon online in 15Gammons.com!

RSS feed | Trackback URI

5 Comments »

Comment by Uriel Katz
2007-09-10 20:12:30

who you managed to make Twisted to work with TurboGears,via some RPC?

Comment by thesamet Subscribed to comments via email
2007-09-10 22:29:31

Yes. TurboGears is talking to the Twisted process via XMLRPC.

 
 
Comment by cesar romero Subscribed to comments via email
2007-09-11 11:09:20

Ok i tried it and even though I’m not really a backgammon player, i got a good impression. Nice to know you can do such things with TG.

Congratulations for making a game that doesn’t need flash

 
Comment by deepak
2007-09-11 20:12:11

I have to create an account, complete with email verification?

Just to play backgammon?

Comment by Nadav Samet Subscribed to comments via email
2007-09-12 01:18:38

Yes. I’d like each player of the site to have a rating and a nickname, so existing players can choose who they want to play with.

 
 
Name (required)
E-mail (required - never shown publicly)
URI
How much is two plus four? (required, to check if you are human)
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.