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

Smartsweeper - beta

Nolan Baker (nbaker)

Tags:

Description

Using a neural network, the agent learns rules for playing minesweeper over the course of several games.

Visualization:
The purple and yellow overlays indicate the agent's guess for where mines are. Purple indicates that the agent thinks it's a mine. Yellow (which really only shows up as light brown or light green) indicates that the agent thinks that there is no mine. Opacity indicates uncertainty. The more opaque a color is, the less certain the agent is about making a move. Conversely, transparency indicates certainty; however, it's unlikely that you won't be able to see any color overlay at all since there is always uncertainty.

Controls:
h - switch to human mode and play to your hearts content
r - let the robot do the playing
left click - clears a space (and space around if the number clicked equals the number of adjacent flags)
right click - flag or unflag a square
Tap 'g' (for goggles) to cycle between tiles by themselves, tiles with the color overlay, or the color overlay only.

Links

Home Page: http://code.google.com/p/smartsweeper/
Source: http://code.google.com/p/smartsweeper/downloads/detail?name=smartsweeper.zip&can=2&q=

Screenshot


click to view original size

Releases

Smartsweeper - beta - May 16, 2010

Pygame.org account Comments

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

No user comments have been submitted.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Jun 24, 2015

Jun 23, 2015

Jun 21, 2015

Jun 17, 2015

Jun 14, 2015

Jun 8, 2015

Jun 7, 2015

May 31, 2015

May 28, 2015

May 18, 2015

May 7, 2015


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