Activities/Cookie Search

From Sugar Labs
< Activities
Revision as of 21:35, 29 December 2016 by Quozl (talk | contribs)
Jump to navigation Jump to search

About Cookie Search

CookieSearch-icon.svg

Most recent release: version 10.

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

Hidden cookies are under the cells.

Clear the board by clicking on the cells.

You can click on either the turtle or the red cookie. If a turtle is clicked, and the cell contains a hidden cookie, you lose the game. Otherwise, a number is shown; how many surrounding cells contain hidden 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 hidden cookie, click on the red cookie to mark it as such. When you change your mind, right-click to mark it as unknown.

After all cookies have been marked, and all turtles clicked on, the game will be won.

The game starts with one hidden cookie, and each win the number of cookies is increased.

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.