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

PyBomb - 0.1

Micha³ Rapacz (michail)

Tags:

Description

Simple Minesweeper clone written in Pygame.

Links

Home Page: https://sites.google.com/site/michailgames/pygame-games
Source: https://sites.google.com/site/michailgames/pygame-games

Screenshot


click to view original size

Releases

PyBomb - 0.1 - Jul 11, 2010

Comments

If you wish to leave a comment, please sign in first.

July 28, 2010 10:22am - pippo - nickname: (pippo123)
http://www.accessori-elettronica.it
July 12, 2010 4:17am - josmiley - nickname: (josmiley)
well, but the code is fairly optimized
for example you can replace lines 216-234 with:
____for y,x in enumerate(('veryeasy','easy','normal','hard','veryhard','impossible')):

________x = MEDIUM.render(x, True, (0, 0, 0))

________screen.blit(x, (self.width - x.get_width()-(118-x.get_width())/2, y*32+8))

____R = [Rect(self.width - 119, x*32+12, 118, 24) for x in 0,1,2,3,4,5]

____E = Rect(self.mouse_x,self.mouse_y,0,0).collidelist(R)

____if E>-1:

________pygame.draw.rect(screen, (0, 0, 0), R[E], 1)


then delete lines 23-28 ...
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Feb 13, 2012

Jul 5, 2011

Apr 17, 2011

Apr 16, 2011

Apr 15, 2011


Apr 14, 2011



Apr 12, 2011

Apr 11, 2011


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