Difference between revisions of "Activities/Cookie Search"

From Sugar Labs
Jump to navigation Jump to search
(fix source code link)
(rewrite how to play; consistent terms; squares/cells, adjacent/surrounding, icon/, differentiate red vs marker cookie.)
Line 29: Line 29:
 
===How to play===
 
===How to play===
  
The object of the game is to clear the board of cookies by clicking on the turtle icon cells.  If a turtle icon cell contains a cookie and is clicked on, you lose the game.  Otherwise, a number is shown indicating the number of adjacent squares that contain cookies.  If there are no adjacent cookies, the square is blank, and the surrounding squares are revealed.  If you determine that a turtle icon cell contains a cookie, click to mark it as such.  After all cookies have been marked, open the remaining turtle icon cells to finish the game. As a memory aid, you can mark a square that you hypothesize has a cookie behind it by clicking on the cookie icon.
+
The object of the game is to clear the board by clicking on the cells.  In each cell, you can click on either the turtle or the red cookie.  If a turtle is clicked, and the cell contains a cookie, you lose the game.  Otherwise, a number is shown; how many surrounding cells contain cookies.  If there are no surrounding cookies, the cell is blank, and the surrounding cells are revealed.  When you determine that a cell contains a cookie, click on the red cookie to mark it as such.  After all cookies have been marked, and all turtles clicked on, the game will be won.
 
 
 
<gallery>
 
<gallery>
 
File:CookieSearch-win.png|You win :)
 
File:CookieSearch-win.png|You win :)

Revision as of 20:00, 26 December 2016

About Cookie Search

CookieSearch-icon.svg

Most recent release: version 3.

The Cookie Search Activity is a simple mine-sweeper-type game.

CookieSearch.png

Where to get Cookie Search

The Cookie Search activity is available for download from the Sugar Activity Library: Cookie Search

The source code is available on GitHub.

Using Cookie Search

CookieSearch-toolbar.png

Activity Button
Opens Activity Toolbar
New Game Button
Launches new game
Stop Button
Exit activity

Activity title
Write to Journal
Share Button
Copy Scores Button
Copies score history to Clipboard (to be loaded into Activities/Chart).

How to play

The object of the game is to clear the board by clicking on the cells. In each cell, you can click on either the turtle or the red cookie. If a turtle is clicked, and the cell contains a cookie, you lose the game. Otherwise, a number is shown; how many surrounding cells contain cookies. If there are no surrounding cookies, the cell is blank, and the surrounding cells are revealed. When you determine that a cell contains a cookie, click on the red cookie to mark it as such. After all cookies have been marked, and all turtles clicked on, the game will be won.

YouTube tutorials


Winning Game: http://youtu.be/NKRKTm-w0Ig

Losing Game: http://youtu.be/RgCx4vgYx78

Learning with Cookie Search

Cookie Search is a exercise in logic.

Modifying Cookie Search

  • Replace the artwork with your own designs. (Note that the way in which the program distinguishes between the turtle and the cookie is by looking at the red component of the image. Pixels with red values between 190 and 210 are "cookie"; all other values are considered turtle.)

Your suggestions for enhancements and/or use cases...

Where to report problems

You can soon report bugs and make feature requests on our bug-tracking system (You need to create an account first). To list all open tickets of CookieSearch you can use query component=CookieSearch. You are also welcome to leave comments/suggestions on the Talk:Activities/Cookie Search page.

Credits

Cookie Search was written and is maintained by User:Walter.