pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing

This project has no maintainer.
If you are the maintainer of this project, please sign up for an account and contact philhassey@yahoo.com with your account name and project title.

Tags:

Links

The project maintainer not yet posted any links for this project.

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

August 12, 2008 2:57pm - Luca Fabbri - nickname: (keul)
> while not e(12)and q and not not x[0] in range(240) or not x[1] in range(240):

This line has something like "not not x[0]..."!

Another: you can write down what you want after a "]", like:
> x[0]in range(240)or not x[1]in range(240)

This way the code became VERY ugly, of course!
August 12, 2008 8:25am - pymike - nickname: (pymike)
Hi ffao,

I've been working on a newer version, and I've already figured out a few of the things below! The j(*(f+(0,))) is awesome, I'll borrow that :-)

Thanks for the interest :-)
August 11, 2008 9:26pm - ffao - nickname: (ffao)
Nice to be influencing a large number of pygme coders! (I see you borrowed the ((v&2)-1)*[1,2][v<3] thing) Mine's still shorter though, I think I picked a very simple algorithm to begin with (nobody commented about my favorite part of my algorithm yet, but it only saves a few keystrokes).

There's still something to be done though if you want to go for a lower byte count -- for example, j(f[0],f[1],0) is the same as j(*(f+(0,))) [isn't that pretty?]. Also, you can create a variable with the value 16 to save a few bytes. You could get rid of the variable s too, as the only method of it you use is s.fill(). So instead of s=h.set_mode([240]*2) do s=h.set_mode([240]*2).fill, and then call s() directly.
August 10, 2008 4:03pm - pymike - nickname: (pymike)
This one won't be getting sound, since it was made to be small.
August 10, 2008 12:02pm - qubodup - nickname: (qubodup) - 4/5
Fun!

Needs sounds though
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Oct 28, 2014

Oct 21, 2014

Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)