[stdlib-sig] A game in the standard library

Brett Cannon brett at python.org
Thu Aug 16 17:43:29 CEST 2012


On Thu, Aug 16, 2012 at 7:38 AM, Yuval Greenfield <ubershmekel at gmail.com>wrote:

> What do you guys think about including a very simple game with the
> standard library?
>
>
So this is the kind of thing that would lead to arguments about "what
game?" The general concept works for me, though if something can be agreed
upon.


> My very first lines of code were modifications to a QBasic game called
> "nibbles" which came with QBasic. A memory dear to my heart and CV. The
> world has changed and nowadays it's much easier to download whatever,
> though I think this would still be useful for our younger downloaders:
>
> * As a reason to poke and tinker around c:\python33\Lib\ or
> /usr/lib/python3.3/
> * To give a simple, sample Tk app.
>

That does screw over OS X users since their version of Tk by default is
crap unless you also provide a non-GUI version.

-Brett C.


> * "import turtle" is nice but at 4K lines, we can do simpler. Also, as a
> game it's mainly interesting for a very young demographic I believe.
> * A simple, fun, readable, moddable, Tk game is possible at 200-400 lines
> or about 10KB of uncompressed code.
> * As another neat "Python is fun" example, à la "import antigravity"
>
>
> Yuval Greenfield
>
> _______________________________________________
> stdlib-sig mailing list
> stdlib-sig at python.org
> http://mail.python.org/mailman/listinfo/stdlib-sig
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/stdlib-sig/attachments/20120816/8e9cce3d/attachment.html>


More information about the stdlib-sig mailing list