Re: [Edu-sig] Edu-sig Digest, Vol 54, Issue 3
I am currently writing a book aimed at the general 9 to 12 year old range that teaches Python through game programming. The style of the book is mostly "here's the (simple) game's source code, type it in, run it, and now I will explain how to works" format that the book I learned BASIC programming with at that age (Fred Dignazio's Invent Your Own Computer Games). The book is located here: http://pythonbook.coffeeghost.net In the later chapters, I was going to use PyGame for the games that used graphics and sound (though I am also looking into Pyglet). My question for the list is, would you advise going with Tkinter instead of PyGame/Pyglet? I have no experience with Tkinter, but the idea of a cross-platform library that comes bundled with even old versions of Python is very appealing. Any suggestions? Albert Sweigart
I have a fairly high opinion of Tk. Not "instead of" Pygame though. More "let's compare these tools, see what they do". Some Tk game-related scripts attach here (not by me, I may be no help with code problems): http://worldgame.blogspot.com/2007/10/ppug-cubespace.html wxPython also has a following, thanks especially to Kevin Altis of PythonCard fame. He's done a good Life, turtle stuff... http://mybizmo.blogspot.com/2006/07/gotta-luv-that-gui-goo.html Kirby 2008/1/21 Albert Sweigart <asweigart@gmail.com>:
I am currently writing a book aimed at the general 9 to 12 year old range that teaches Python through game programming. The style of the book is mostly "here's the (simple) game's source code, type it in, run it, and now I will explain how to works" format that the book I learned BASIC programming with at that age (Fred Dignazio's Invent Your Own Computer Games).
The book is located here: http://pythonbook.coffeeghost.net
In the later chapters, I was going to use PyGame for the games that used graphics and sound (though I am also looking into Pyglet).
My question for the list is, would you advise going with Tkinter instead of PyGame/Pyglet? I have no experience with Tkinter, but the idea of a cross-platform library that comes bundled with even old versions of Python is very appealing. Any suggestions?
Albert Sweigart
_______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig
participants (2)
-
Albert Sweigart -
kirby urner