If you are anything like me, you probably like playing the computer game minesweeper
. When playing, I've noticed that since there's no penalty for losing, I wouldn't try as hard as if there was. It's as if I was too carefree- until now. I modified an open-source version of the game in processing, so when the player clicks a mine, they are given a mild (but still quite painful) shock. It's like high-stakes minesweeper. To do this, I found cheap stick of "shocking gum" (http://amzn.to/MOgtAJ
), took it apart, made it so it could be controlled by an Arduino, modified an existing open-source minesweeper processing script, and next thing I knew it, I was being shocked after losing a game of minesweeper.
Using the device is quite simple:
Plug it into your computer.
Hold onto the shocker (a small, plastic chip) with your thumb and index finger.
Run the game.
If a mine is clicked on, you will be given a mild shock lasting roughly 160 milliseconds.
No, the shock is not dangerous. It is most definitely not pleasant, and does make the game frightening, but the shocker was taken from a toy and is not truly dangerous. With that being said, though, the package warns to not use it if you're under the age of 14, or if you have a pacemaker of anything else of that sort. I am not responsible for anything bad that comes of you using this.
Oh, yes, I did mention that I did not write the entire, or most of, or really even a 1/16 of the minesweeper source code. All I did was add the shocking feature, and changed around some difficulty stuff. The credit goes to Luke Noonan, who published it under a CC-BY-NC-SA license. The original source code and stuff can be found here: http://www.acsu.buffalo.edu/~johnnoon/programming
Don't know what minesweeper is? Check out the Wikipedia page here: http://en.wikipedia.org/wiki/Minesweeper_%28video_game%29