Difference between revisions of "Activities/VisualMatch"

From Sugar Labs
Jump to navigation Jump to search
Line 36: Line 36:
  
 
[[Image:One-red-circle.png]] [[Image:Three-blue-checks.png]] [[Image:Two-green-exes-solid.png]] two of the same shade
 
[[Image:One-red-circle.png]] [[Image:Three-blue-checks.png]] [[Image:Two-green-exes-solid.png]] two of the same shade
 +
 +
[[Image:One-red-circle.png]] [[Image:Two-blue-circles.png]] [[Image:Two-green-circles.png]] two of the number
  
 
===When there is no match===
 
===When there is no match===

Revision as of 17:40, 7 December 2009

Activity-VisualMatch.png

The basics

How to play:

  • 12 cards are on the playing surface at any time.
  • Click on three cards to make a match.
  • The most recent match is displayed on the left.

About Visual Match

Visual Match is a pattern-matching game written for Sugar; it is included as part of the honey collection of Sugar add-ons. The object of the game is to find sets of three cards where each attribute—color, shape, number of elements, and shading—either match on all three cards or are different on all three cards. The current version doesn't yet support sharing with multiple players or saving to the Journal, but it can be played by a single player.

Version 9

i18n

Visual Match has not yet been translated into any languages other than English.

(See our Pootle server for details about how to translate Visual Match into your language.)

More details

Examples of matches

One-red-circle.png Two-red-circles.png Three-red-circles.png colors, shapes, and shade match; numbers are different

One-red-circle.png One-green-ex.png One-blue-check.png numbers match; colors, shapes and shade are different

One-red-circle.png Three-blue-checks.png Two-green-exes.png everything is different

Examples of mismatches

One-red-circle.png Two-red-circles.png Three-green-circles.png two of the same colors

One-red-circle.png One-green-ex.png One-blue-ex.png two of the same shape

One-red-circle.png Three-blue-checks.png Two-green-exes-solid.png two of the same shade

One-red-circle.png Two-blue-circles.png Two-green-circles.png two of the number

When there is no match

Activity-VisualMatch15.png

On occasion, there is no match. You can test for this condition by clicking the 'search' button. If there is no match, 3 additional cards are dealt as illustrated in the figure above.

The toolbar

Activity-VisualMatch-Toolbar.png

From left to right:

(a) The standard Sugar 'activity' button used to access the activity menu, which includes sharing (the latter not yet implemented);
(b) The 'new pattern game' button used to start a new pattern game;
(c) The 'new number game' button used to start a new number game;
(d) The 'new word game' button used to start a new word game;
(e) The number of cards remaining in the deck is displayed;
(f) The number of matches found is displayed;
(g) The number of seconds that have elapsed since the last match was found is displayed;
(h) The current status is displayed; Once all of the matches have been found, the total elapsed time is displayed. Note that there may be some cards left on the playing field at the end of the game that do not make a match.

Not shown:

(i) The 'journal' notification button is used to update the journal entry for this activity;
(j) The 'stop' button is used to exit the activity.

Note: As shown above, these are the 0.86+ toolbars. In older versions of Sugar, these buttons appear under the 'Project' tab.

New features

As of Version 9, Visual Match includes number-search and word-search games in addition to the pattern-search game.

Visualmatch-numbers1.png
Visualmatch-words1.png

Other new features include the elimination of the +3 button – new cards are dealt automatically when needed.

Show me the code

You can explore the Visual Match source code [cloning the project] directly from git.