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

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

Comments

If you wish to leave a comment, 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
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)