I ran into an implementation of PONG written for NodeBox, which uses Python:
http://billmill.org/pong.html
Here's a version written for Shoes (a Ruby ui toolkit) by 'Why' himself:
http://gist.github.com/26431
Here's a version in Factor which uses the 'locals' mechanism heavily:
http://paste.factorcode.org/paste?id=195
And a fourth version which uses internal words to factor out some expressions
which are in terms of locals:
http://paste.factorcode.org/paste?id=196
Thus far it's been pretty rare for folks to use locals. People tend to use
them sparingly. I took the opposite approach here and embraced them as the
basis of the solution. I think the results are interesting. :-)
Ed
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk