--- /dev/null
+Connie Berardi <connie.berardi at intel dot com>
--- /dev/null
+Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
--- /dev/null
+PROJECT = adventureflashcards
+
+INSTALL_DIR = ${DESTDIR}/usr/share/$(PROJECT)
+DESKTOP_DIR = ${DESTDIR}/usr/share/applications
+ICON_DIR = ${DESTDIR}/usr/share/pixmaps
+
+all:
+ @echo "Nothing to build"
+
+install:
+ mkdir -p $(INSTALL_DIR)/
+ cp -a audio css html fonts images js _locales $(INSTALL_DIR)/
+ cp index.html LICENSE manifest.json icon.png $(INSTALL_DIR)/
+ mkdir -p $(DESKTOP_DIR)/
+ cp $(PROJECT).desktop $(DESKTOP_DIR)/
+ mkdir -p $(ICON_DIR)/
+ cp icon.png $(ICON_DIR)/$(PROJECT).png
--- /dev/null
+Copyright (c) 2012, Intel Corporation.
+
+This program is licensed under the terms and conditions of the Apache License, version 2.0.
+The full text of the Apache License is at http://www.apache.org/licenses/LICENSE-2.0
--- /dev/null
+Kid's Adventure Flash Card's is a study card app implemeneted
+in HTML5/JavaScript
+
+Author/Owner: Connie Berardi <connie.berardi@intel.com>
+
+Technical Details: This app is written using HTML5/css3
+javascript library and is distributed under Apache2.0 license.
+
+FONTS
+------------------------------------------------------------------
+
+Google web fonts - Carter One
+http://www.google.com/webfonts/specimen/Carter+One
+SIL Open Font License 1.1
+
+SOUNDS
+------------------------------------------------------------------
+
+GameplayBackgroundAtmospheric_Loop.ogg
+Original Name: bird-chatter4.aif
+Origin: http://www.freesound.org/people/alienistcog/sounds/125779/
+License: http://creativecommons.org/publicdomain/zero/1.0/
+
+GeneralButtonClick_wav.ogg
+Original Name: btn121.wav
+Origin: http://www.freesound.org/people/junggle/sounds/29301/
+License: License: http://creativecommons.org/licenses/by/3.0/
+
+NavPaneSwoosh.ogg
+Original Name: sliding paper on table.wav
+Origin: http://www.freesound.org/people/123jorre456/sounds/46631/
+License: http://creativecommons.org/publicdomain/zero/1.0/
+
+WhipCrackBegin.ogg
+Original Name: swosh-08.flac -"stick cutting air"
+Origin: http://www.freesound.org/people/qubodup/sounds/59995/
+License: License: http://creativecommons.org/licenses/by/3.0/
+Original Name: Whip Crack 01.wav
+Origin: http://www.freesound.org/people/CGEffex/sounds/93100/
+License: License: http://creativecommons.org/licenses/by/3.0/
+
+IMAGES
+------------------------------------------------------------------
+
+All images are created by Intel Corp.
+They are licensed under the Creative Commons Attribution 3.0 license
+http://creativecommons.org/licenses/by/3.0/us/
--- /dev/null
+Want to help improve this app?
+
+Known issues:
+Wrong/right button images missing license
+Prevent flicker on load
+Separate card object into it's own prototype to make adding of new decks simpler
+Find creative commons audio for all cards decks
+Add an alphabet deck with audio
+Add card flip animation across the Z axis from left to right
+Animate different parts of the home screen (campfire, birds, etc.)
+
+From code review:
+File structure comments:
+- xmp tags missing on two image files
+
+Javascript comments:
+- inject stars in the init function then hide and show them using CSS
+- change count = count +1 to count += 1
+- Pull audio tags out of html that do not loop
+- Fix card flip animation using webkitTransitionEnd
+
+Please validate files before any commit:
+http://validator.w3.org/
+http://jigsaw.w3.org/css-validator/
+http://jslint.com/
+https://developers.google.com/closure/compiler/docs/gettingstarted_app
--- /dev/null
+{
+ "appName": {"message": "Adventure Flash Cards"},
+ "adventureText": {"message": "Adventure"},
+ "cardsText": {"message": "Cards"},
+ "playButtonText": {"message": "Play Now"},
+ "scoreText": {"message": "Score:"},
+ "shapes": {"message": "Shapes"},
+ "colors": {"message": "Colors"},
+ "counting": {"message": "Counting"},
+ "spanish": {"message": "Spanish"},
+ "goodJob": {"message": "good job!"},
+ "tryAgain": {"message": "try again!"},
+ "red": {"message": "red"},
+ "purple": {"message": "purple"},
+ "blue": {"message": "blue"},
+ "green": {"message": "green"},
+ "orange": {"message": "orange"},
+ "yellow": {"message": "yellow"},
+ "grey": {"message": "grey"},
+ "white": {"message": "white"},
+ "pink": {"message": "pink"},
+ "black": {"message": "black"},
+ "brown": {"message": "brown"},
+ "circle": {"message": "circle"},
+ "square": {"message": "square"},
+ "triangle": {"message": "triangle"},
+ "star": {"message": "star"},
+ "octagon": {"message": "octagon"},
+ "rectangle": {"message": "rectangle"},
+ "trapezoid": {"message": "trapezoid"},
+ "oval": {"message": "oval"},
+ "one": {"message": "one"},
+ "two": {"message": "two"},
+ "three": {"message": "three"},
+ "four": {"message": "four"},
+ "five": {"message": "five"},
+ "six": {"message": "six"},
+ "seven": {"message": "seven"},
+ "eight": {"message": "eight"},
+ "nine": {"message": "nine"},
+ "ten": {"message": "ten"},
+ "sun": {"message": "el sol"},
+ "cloud": {"message": "la nube"},
+ "cat": {"message": "el gato"},
+ "dog": {"message": "el perro"},
+ "tree": {"message": "el árbol"},
+ "fish": {"message": "el pez"},
+ "fruit": {"message": "la fruta"},
+ "worm": {"message": "el gusano"},
+ "bird": {"message": "la ave"},
+ "crocodile": {"message": "el cocodrilo"},
+ "book": {"message": "el libro"},
+ "socks": {"message": "los calcetínes"},
+ "cup": {"message": "la copa"},
+ "chair": {"message": "la silla"},
+ "helpText": {"message": "Choose a set of flash cards by clicking one of the options (shapes, Spanish, colors, or numbers) on the left side. Your first card appears. Think of the answer, then click on the card. The answer appears. If you got it right, click the checkmark. If you got it wrong, click the X. Continue until your score is displayed. Cards you got right show as yellow stars, incorrect answers are empty stars. Click on a set of flash cards on the left to choose a new set or the same set to try again!"}
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="https://github.com/01org/webapps-flashcards" version="1.0.0" viewmodes="fullscreen">
+ <icon src="icon_128.png"/>
+ <content src="index.html"/>
+ <name>Flashcards</name>
+ <tizen:application id="M6IUpvDcfe" required_version="1.0"/>
+ <tizen:setting screen-orientation="landscape" contextmenu="enable" />
+</widget>
--- /dev/null
+/*
+ * Copyright (c) 2012, Intel Corporation.
+ *
+ * This program is licensed under the terms and conditions of the
+ * Apache License, version 2.0. The full text of the Apache License is at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ */
+
+@font-face {
+ font-family: 'Carter One';
+ src: url('../fonts/CarterOne.ttf') format('truetype');
+ font-weight: normal;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'Gill Sans';
+ src: url('fonts/GillSansUltraBold') format('truetype');
+ font-weight: normal;
+ font-style: normal;
+}
+
+html {
+ width: 0px;
+ height: 0px;
+}
+
+body {
+ -webkit-user-select: none;
+ box-shadow: 5px 5px 20px black;
+ position: absolute;
+ width: 1024px;
+ height: 600px;
+ -webkit-box-align: center;
+ -webkit-box-pack: center;
+ display: -webkit-box;
+ background: #000000;
+ overflow: hidden;
+ cursor: default;
+}
+
+#splash-screen {
+ position: absolute;
+ width: 1024px;
+ height: 600px;
+ background-image: url('../images/Background.png');
+}
+
+#game-screen {
+ position: absolute;
+ width: 1024px;
+ height: 600px;
+ display: none;
+ background-image: url("../images/Background.png");
+}
+
+/* 800 x 480 */
+@media (orientation: landscape) {
+ body { top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) scale(0.78125, 0.8); }
+}
+
+/* 1024 x 600 */
+@media (min-width: 1024px) and (min-height: 600px) and (orientation: landscape) {
+ body { top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); }
+}
+
+/* 1280 x 720 */
+@media (min-width: 1280px) and (min-height: 720px) and (orientation: landscape) {
+ body { top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) scale(1.25, 1.199); }
+}
+
+/* 480 x 800 */
+@media (orientation: portrait) {
+ body { top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) rotate(90deg) scale(0.8, 0.78125); }
+}
+
+/* 600 x 989 */
+@media (min-width: 600px) and (min-height: 989px) and (orientation: portrait) {
+ body { top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) rotate(90deg) scale(0.9658, 1.0); }
+}
+
+/* 600 x 1024 */
+@media (min-width: 600px) and (min-height: 1024px) and (orientation: portrait) {
+ body { top: 0%; left: 0%; -webkit-transform: translate(-50%, -50%) rotate(90deg) translate(50%, -50%); }
+}
+
+/* 720 x 1230 */
+@media (min-width: 720px) and (min-height: 1230px) and (orientation: portrait) {
+ body { top: 0%; left: 0%; -webkit-transform: translate(-50%, -50%) rotate(90deg) scale(1.2, 1.199) translate(50%, -50%); }
+}
+
+/* 720 x 1280 */
+@media (min-width: 720px) and (min-height: 1280px) and (orientation: portrait) {
+ body { top: 0%; left: 0%; -webkit-transform: translate(-50%, -50%) rotate(90deg) scale(1.25, 1.199) translate(50%, -50%); }
+}
+
+#adventure-ribbon {
+ position: absolute;
+ left: 216px;
+ top: 35px;
+ width: 604px;
+ height: 82px;
+ background-image: url('../images/AdventureRibbon.png');
+ text-align: center;
+ font-family: "Carter One";
+ font-size: 81px;
+ line-height: 82px;
+ color: #ffffff;
+}
+
+#adventure-ribbon-tail {
+ position: absolute;
+ left: 167px;
+ height: 86px;
+ width: 705px;
+ top: 65px;
+ background-image: url("../images/AdventureRibbonTail.png");
+}
+
+#flash-title {
+ position: absolute;
+ left: 237px;
+ top: 155px;
+ width: 551px;
+ height: 197px;
+ background-image: url("../images/FlashTitle.png");
+}
+
+#cards-ribbon {
+ position: absolute;
+ left: 319px;
+ top: 380px;
+ width: 354px;
+ height: 82px;
+ background-image: url("../images/CardRibbon.png");
+ text-align: center;
+ font-family: "Carter One";
+ font-size: 83px;
+ color: #ffffff;
+ line-height: 82px;
+}
+
+#cards-ribbon-tail {
+ position: absolute;
+ left: 268px;
+ top: 410px;
+ width: 455px;
+ height: 86px;
+ background-image: url("../images/CardRibbonTail.png");
+}
+
+#play-button {
+ position: absolute;
+ left: 340px;
+ width: 307px;
+ height: 83px;
+ top: 500px;
+ background-color: #499aff;
+ border-radius: 10px;
+ cursor: pointer;
+ text-align: center;
+ line-height: 83px;
+ font-family: "Carter One";
+ font-size: 60px;
+ color: #ffffff;
+}
+
+#play-button:active {
+ background-color: #314a74;
+}
+
+#nav-pane.animation-open {
+ -webkit-transform: translate(172px,0);
+ position: absolute;
+ left: -180px;
+ height: 600px;
+ width: 205px;
+ cursor: pointer;
+ background-image: url("../images/NavPane.png");
+ -webkit-transition: all 1s ease-in;
+}
+
+#nav-pane.animation-close {
+ -webkit-transform: translate(-180px,0);
+ position: absolute;
+ height: 600px;
+ width: 205px;
+ cursor: pointer;
+ background-image: url("../images/NavPane.png");
+ -webkit-transition: all 1s ease-in;
+}
+
+#nav-pane-tent {
+ position: absolute;
+ left: 50px;
+ top: 10px;
+ width: 79px;
+ height: 62px;
+ background-image: url("../images/NavTent.png");
+}
+
+#scroll-overlay {
+ position: absolute;
+ height: 391px;
+ width: 157px;
+ left: 22px;
+ top: 90px;
+ overflow: hidden;
+}
+
+#scroll-items {
+ position: absolute;
+ cursor: pointer;
+ height: 391px;
+ width: 157px;
+ border-radius: 10px 10px 10px 10px;
+ -webkit-transition: all 1s ease-in-out;
+}
+
+#nav-pane-compass {
+ position: absolute;
+ width: 133px;
+ height: 126px;
+ left: 891px;
+ background-image: url("../images/Compass.png");
+}
+
+#shape-deck {
+ position: absolute;
+ left: 7px;
+ top: 40px;
+ width: 150px;
+ height: 89px;
+ background-image: url('../images/NavCardShapes.png');
+ z-index: 4;
+}
+
+#spanish-deck {
+ position: absolute;
+ left: 8px;
+ top: 120px;
+ width: 149px;
+ height: 87px;
+ background-image: url('../images/NavCardSpanish.png');
+ z-index: 3;
+}
+
+#color-deck {
+ position: absolute;
+ left: 6px;
+ top: 180px;
+ width: 151px;
+ height: 93px;
+ background-image: url("../images/NavCardColors.png" );
+ z-index: 2;
+}
+
+#counting-deck {
+ position: absolute;
+ left: 8px;
+ top: 260px;
+ width: 149px;
+ height: 84px;
+ background-image: url("../images/NavCardCounting.png");
+ z-index: 1;
+}
+
+#score {
+ position: absolute;
+ width: 170px;
+ height: 54px;
+ top: 505px;
+ font-family: "Carter One";
+ font-size: 35px;
+ color: #ffffff;
+}
+
+#score-text {
+ position: absolute;
+ left: 15px;
+ width: 157px;
+}
+
+#score-number {
+ position: absolute;
+ left: 120px;
+ width: 70px;
+}
+
+#nav-flag {
+ position: absolute;
+ left: 204px;
+ text-indent: 5px;
+ top: 10px;
+ background-image: url("../images/NavFlag.png");
+ text-align: left;
+ width: 226px;
+ height: 66 px;
+ line-height: 66px;
+ font-family: "Carter One";
+ font-size: 41px;
+ color: #ffffff;
+}
+
+#answer {
+ position: absolute;
+ left: 200px;
+ top: 370px;
+ width: 750px;
+ height: 230px;
+ text-align: center;
+ font-family: "Carter One";
+ font-size: 65px;
+ cursor: pointer;
+}
+
+#card-answer {
+ position: absolute;
+ width: 750px;
+ height: 100px;
+ text-align: center;
+ font-family: "Carter One";
+ font-size: 65px;
+ cursor: pointer;
+}
+
+#endgame-prompt {
+ position: absolute;
+ width: 750px;
+ height: 100px;
+ left: 200px;
+ top: 370px;
+ width: 750px;
+ height: 230px;
+ text-align: center;
+ font-family: "Carter One";
+ font-size: 65px;
+ color: #499aff;
+ cursor: pointer;
+}
+
+#rope-top {
+ position: absolute;
+ top: 211px;
+ left: 890px;
+ width: 134px;
+ height: 78px;
+ background-image: url("../images/RopeTop.png");
+}
+
+#rope-bottom {
+ position: absolute;
+ top: 290px;
+ left: 890px;
+ width: 135px;
+ height: 34px;
+ background-image: url("../images/RopeBottom.png");
+}
+
+#card-stack {
+ position: absolute;
+ left: 118px;
+ top: 60px;
+ width: 860px;
+ height: 509px;
+ background-image: url("../images/CardStack.png");
+}
+
+#card {
+ position: absolute;
+ top: 90px;
+ left: 195px;
+ width: 771px;
+ height: 380px;
+ cursor: pointer;
+ background-image: url("../images/BlankCard.png");
+}
+
+#card-graphic {
+ position: relative;
+ margin: 0px auto;
+ background-repeat: no-repeat;
+}
+
+#flip-back {
+ -webkit-transform-origin: 80% 20%;
+ -webkit-transition: all 1s ease-in;
+ -webkit-transform: rotate(-180deg);
+}
+
+#card-flip {
+ -webkit-transform-origin: 80% 20%;
+ -webkit-transition: all 1s ease-in;
+ -webkit-transform: rotate(180deg);
+}
+
+#wrong-button {
+ position: absolute;
+ top: 120px;
+ left: 100px;
+ width: 105px;
+ height: 105px;
+ background-image: url('../images/CrossButton.png');
+ cursor: pointer;
+}
+
+#wrong-button:active {
+ background-image: url('../images/CrossButtonActive.png');
+}
+
+#right-button {
+ position: absolute;
+ top: 120px;
+ left: 550px;
+ width: 105px;
+ height: 105px;
+ background-image: url('../images/CheckmarkButton.png');
+ cursor: pointer;
+}
+
+#right-button:active {
+ background-image: url('../images/CheckmarkButtonActive.png');
+}
+
+#replay-button {
+ position: absolute;
+ top: 480px;
+ left: 500px;
+ width: 105px;
+ height: 105px;
+ background-image: url('../images/ReplayButton.png');
+ display: none;
+ cursor: pointer;
+}
+
+#replay-button:active {
+ background-image: url('../images/ReplayButtonActive.png');
+}
+
+.star {
+ position: absolute;
+ width: 70px;
+ height: 67px;
+ z-index: 2;
+}
+
+#star1 {
+ top: 130px;
+ left: 220px;
+}
+
+#star2 {
+ top: 130px;
+ left: 340px;
+}
+
+#star3 {
+ top: 130px;
+ left: 460px;
+}
+
+#star4 {
+ top: 130px;
+ left: 580px;
+}
+
+#star5 {
+ top: 130px;
+ left: 700px;
+}
+
+#star6 {
+ top: 220px;
+ left: 220px;
+}
+
+#star7 {
+ top: 220px;
+ left: 340px;
+}
+
+#star8 {
+ top: 220px;
+ left: 460px;
+}
+
+#star9 {
+ top: 220px;
+ left: 580px;
+}
+
+#star10 {
+ top: 220px;
+ left: 700px;
+}
+
+#star11 {
+ top: 310px;
+ left: 220px;
+}
+
+#star12 {
+ top: 310px;
+ left: 340px;
+}
+
+#star13 {
+ top: 310px;
+ left: 460px;
+}
+
+#star14 {
+ top: 310px;
+ left: 580px;
+}
+
+#help-icon {
+ position: absolute;
+ left: 950px;
+ top: 530px;
+ width: 44px;
+ height: 44px;
+ background-image: url('../images/HelpIcon.png');
+ cursor: pointer;
+}
+
+#help-dialog {
+ position: absolute;
+ left: 195px;
+ top: 90px;
+ width: 771px;
+ height: 380px;
+ display: none;
+ z-index: 3;
+}
+
+#help-card {
+ position: absolute;
+ width: 771px;
+ height: 380px;
+ background-image: url("../images/BlankCard.png");
+}
+
+#help-text {
+ position: absolute;
+ text-align: center;
+ width: 650px;
+ line-height: 30px;
+ margin: 75px 20px;
+ font-family: "Carter One";
+ font-size: 20px;
+ color: #5C3317;
+ word-wrap: break-word;
+ height: 230px;
+}
+
+#help-close {
+ position: absolute;
+ text-align: center;
+ width: 40px;
+ line-height: 41px;
+ left: 710px;
+ top: 15px;
+ font-family: "Carter One";
+ font-size: 41px;
+ color: #5C3317;
+ cursor: pointer;
+}
+
+#smoke-screen {
+ position: absolute;
+ width: 1024px;
+ height: 600px;
+ left: -195px;
+ top: -90px;
+ background-color: #000000;
+ opacity: 0.5;
+}
--- /dev/null
+/*
+ * Copyright (c) 2012, Intel Corporation.
+ *
+ * This program is licensed under the terms and conditions of the
+ * Apache License, version 2.0. The full text of the Apache License is at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ */
+
+#licensebtnl {
+ position: absolute;
+ width: 20px;
+ height: 20px;
+ text-align: center;
+ line-height: 20px;
+ cursor: pointer;
+ -webkit-border-radius: 20px;
+ border: solid 1px #000000;
+ opacity: 0.3;
+ color: black;
+}
+
+#licensebtnl:hover {
+ opacity: 1.0;
+}
+
+#licensepage {
+ width: 100%;
+ height: 100%;
+ background: -webkit-gradient(linear, left top, right top, from(#242b16), to(#000000));
+}
+
+#licensetext {
+ width: 99.8%;
+ height: 90%;
+ background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #FFFFFF), color-stop(1, #9bcdfa));
+ -webkit-border-radius: 12px;
+ border-radius: 12px;
+ box-shadow: inset 1px 1px 2px 1px black;
+ margin-bottom: 2px;
+ padding-left: 10px;
+ padding-bottom: 10px;
+ overflow: hidden;
+ cursor: move;
+}
+
+#licensescroll {
+ position: relative;
+ font: 25px/100% Arial, Helvetica, sans-serif;
+ text-align: center;
+}
+
+.licensebtn {
+ position: absolute;
+ color: #d7d7d7;
+ border: solid 1px #333;
+ text-align: center;
+ text-decoration: none;
+ font: 30px/100% Arial, Helvetica, sans-serif;
+ text-shadow: 0 1px 1px rgba(0,0,0,.3);
+ -webkit-border-radius: 12px;
+ border-radius: 12px;
+ background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#000));
+ height: 52px;
+ line-height: 48px;
+ cursor: pointer;
+ box-shadow: 2px 2px 14px #000;
+}
+
+.licensebtn:hover {
+ background: -webkit-gradient(linear, left top, left bottom, from(#444), to(#000));
+}
+
+.licensebtn:active {
+ color: #666;
+ background: -webkit-gradient(linear, left top, left bottom, from(#000), to(#444));
+}
+
+#licensebtnq {
+ left: 412px;
+ width: 200px;
+}
--- /dev/null
+<!DOCTYPE HTML>
+<!--
+ * Copyright (c) 2012, Intel Corporation.
+ *
+ * This program is licensed under the terms and conditions of the
+ * Apache License, version 2.0. The full text of the Apache License is at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ -->
+<html>
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+ <meta id="viewport_meta" name="viewport" content="" />
+ <script type="text/javascript">
+ var viewport_meta = document.getElementById('viewport_meta');
+ var w = screen.availWidth;
+ var h = screen.availHeight;
+ viewport_meta.setAttribute('content','width='+w+', height='+h+',user-scalable=no');
+ </script>
+ <title id="app-name"></title>
+ <link rel="stylesheet" href="css/flashcards.css"/>
+ <link rel="stylesheet" href="css/license.css"/>
+ </head>
+ <body>
+ <div id="licensepage" style="display: none">
+ <div id="licensetext"><div id="licensescroll"></div></div>
+ <div id="licensebtnq" class="licensebtn">Back</div>
+ </div>
+ <div id="splash-screen">
+ <div id="adventure-ribbon-tail"></div>
+ <div id="adventure-ribbon"></div>
+ <div id="flash-title"></div>
+ <div id="cards-ribbon-tail"></div>
+ <div id="cards-ribbon"></div>
+ <div id="play-button"></div>
+ <div id="licensebtnl" style="top: 540px; left: 945px;"> i </div>
+ </div>
+ <div id="game-screen">
+ <div id="nav-pane-compass"></div>
+ <div id="rope-bottom"></div>
+ <div id="card-stack"></div>
+ <div id="card">
+ <div id="card-graphic"></div>
+ </div>
+ <div id="rope-top"></div>
+ <div id="answer">
+ <div id="card-answer"></div>
+ <div id="wrong-button"></div>
+ <div id="right-button"></div>
+ </div>
+ <div id="endgame-prompt"></div>
+ <div id="replay-button" ></div>
+ <div id="nav-pane" class="animation-open">
+ <div id="nav-flag"></div>
+ <div id="nav-pane-tent"></div>
+ <div id="scroll-overlay">
+ <div id="scroll-items">
+ <div id="shape-deck"></div>
+ <div id="color-deck"></div>
+ <div id="counting-deck"></div>
+ <div id="spanish-deck"></div>
+ </div>
+ </div>
+ <div id="score">
+ <div id="score-text"></div>
+ <div id="score-number"></div>
+ </div>
+ </div>
+ <div id="help-icon"></div>
+ <div id="help-dialog">
+ <div id="smoke-screen"></div>
+ <div id="help-card"></div>
+ <div id="help-text"></div>
+ <div id="help-close">X</div>
+ </div>
+ </div>
+ <script src="js/license.js"></script>
+ <script src="js/getMessage.js"></script>
+ <script src="js/sound.js"></script>
+ <script src="js/flashcards.js"></script>
+ <audio id="sound-intro" src="audio/Theme_Loop.ogg" preload="auto" loop="loop" ></audio>
+ <audio id="sound-buttonclick" src="audio/GeneralButtonClick_wav.ogg" preload="auto" ></audio>
+ <audio id="sound-cardflip" src="audio/CardFlip.ogg" preload="auto" ></audio>
+ <audio id="sound-background" src="audio/GameplayBackgroundAtmospheric_Loop.ogg" preload="auto" loop="loop"></audio>
+ <audio id="sound-navpane" src="audio/NavPaneSwoosh.ogg" preload="auto" ></audio>
+ <audio id="sound-end" src="audio/Replay.ogg" preload="auto"></audio>
+ <audio id="sound-starbutton" src="audio/StarButton.ogg" preload="auto"></audio>
+ <audio id="sound-thumbbutton" src="audio/ThumbsDown.ogg" preload="auto"></audio>
+ <audio id="sound-begin" src="audio/WhipCrackBegin.ogg" preload="auto"></audio>
+ </body>
+</html>
--- /dev/null
+/*
+ * Copyright (c) 2012, Intel Corporation.
+ *
+ * This program is licensed under the terms and conditions of the
+ * Apache License, version 2.0. The full text of the Apache License is at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ */
+
+/**
+ * globals
+ */
+var getMessage,
+ license_init,
+ GameSound,
+ window,
+ document;
+
+(function () {
+ "use strict";
+
+ /**
+ * FlashCards() class contains all the variables and functions needed to run the flash card game
+ * @constructor
+ */
+ function FlashCards() {
+ this.cardDecks = {
+ COLORDECK: "ColorDeck",
+ SHAPEDECK: "ShapeDeck",
+ SPANISHDECK: "SpanishDeck",
+ COUNTINGDECK: "CountingDeck"
+ };
+ this.cardCount = 0; //current game wrong answers
+ this.rightCount = 0; //current game right answers
+ this.cardSet = this.cardDecks.SHAPEDECK; //name of card set and file prefix
+ this.endGameFlag = false; //endGame flag
+ this.deckAnswer = []; //the array of answers for this deck
+ };
+
+ /**
+ * FlashCards.helpClicked() plays audio and makes the help card dialog visible when help icon is clicked
+ * @private
+ */
+ FlashCards.prototype.helpClicked = function () {
+ this.buttonClickSound.play();
+ document.getElementById("help-dialog").style.display = "inline";
+ };
+
+ /*
+ * FlashCards.helpCloseClicked() plays audio and makes the help card dialog invisible when help X icon is clicked
+ * @private
+ */
+ FlashCards.prototype.helpCloseClicked = function () {
+ this.buttonClickSound.play();
+ document.getElementById("help-dialog").style.display = "none";
+ };
+
+ /**
+ * FlashCards.hideAnswer() will hide the wrong and right buttons and answer text reseting the cursor style
+ * @private
+ */
+ FlashCards.prototype.hideAnswer = function () {
+ document.getElementById("answer").style.display = "none";
+ };
+
+ /**
+ * FlashCards.clear() will reset game counters, hide stars, replay button, answers, and reset the score
+ * @private
+ */
+ FlashCards.prototype.clear = function () {
+ var parent = document.getElementById("game-screen"),
+ count,
+ children;
+
+ //reset properties
+ this.endGameFlag = false;
+ this.rightCount = 0;
+ this.cardCount = 0;
+
+ //remove all stars from dom
+ children = document.getElementsByClassName("star");
+ for (count = children.length - 1; count >= 0; count = count - 1) {
+ parent.removeChild(document.getElementsByClassName("star")[count]);
+ }
+
+ document.getElementById("score-number").innerHTML = "0";
+ document.getElementById("replay-button").style.display = "none";
+ document.getElementById("endgame-prompt").style.display = "none";
+ this.hideAnswer();
+ };
+
+ /**
+ * FlashCards.navPaneClose() closes nav pane and plays nav pane sound effect
+ * @private
+ */
+ FlashCards.prototype.navPaneClose = function () {
+ this.swooshSound.play();
+ if (document.getElementsByClassName("animation-open")[0]) {
+ document.getElementsByClassName("animation-open")[0].setAttribute("class", "animation-close");
+ }
+ };
+
+ /**
+ * FlashCards.navPaneToggle() opens or closes nav pane and plays nav pane sound effect
+ * @private
+ */
+ FlashCards.prototype.navPaneToggle = function () {
+ this.swooshSound.play();
+ if (document.getElementsByClassName("animation-open")[0]) {
+ document.getElementsByClassName("animation-open")[0].setAttribute("class", "animation-close");
+ } else {
+ document.getElementsByClassName("animation-close")[0].setAttribute("class", "animation-open");
+ }
+ };
+
+ /**
+ * FlashCards.navPaneClicked() plays button click audio, opens or closes nav pane and plays nav pane sound effect
+ * @private
+ */
+ FlashCards.prototype.navPaneClicked = function () {
+ this.buttonClickSound.play();
+ this.navPaneToggle();
+ };
+
+ /**
+ * FlashCards.getShapeDeckAnswers() will call getMessage to get the localized answers for this deck
+ * @private
+ */
+ FlashCards.prototype.getShapeDeckAnswers = function () {
+ this.shapeAnswer = [];
+ this.shapeAnswer[0] = getMessage("circle");
+ this.shapeAnswer[1] = getMessage("square");
+ this.shapeAnswer[2] = getMessage("triangle");
+ this.shapeAnswer[3] = getMessage("oval");
+ this.shapeAnswer[4] = getMessage("star");
+ this.shapeAnswer[5] = getMessage("octagon");
+ this.shapeAnswer[6] = getMessage("rectangle");
+ this.shapeAnswer[7] = getMessage("trapezoid");
+ };
+
+ /**
+ * FlashCards.setCardContent() sets the image centered horizontally in the card
+ * @private
+ */
+ FlashCards.prototype.setCardContent = function () {
+ var img = new Image();
+ img.src = 'images/' + this.cardSet + this.cardCount + '.png';
+ document.getElementById("card").style.display = "none";
+ img.onload = function(){
+ document.getElementById("card-graphic").style.width = img.width+"px";
+ document.getElementById("card-graphic").style.height = img.height+"px";
+ document.getElementById("card-graphic").style.top = (160-(img.height/2))+"px";
+ document.getElementById("card-graphic").style.backgroundImage = 'url('+ img.src +')';
+ document.getElementById("card").style.display = "inline";
+ };
+ }
+
+ /**
+ * FlashCards.shapeDeckClicked() set the game to play through the this deck
+ * @private
+ */
+ FlashCards.prototype.setShapeDeck = function () {
+ this.whipCrackSound.play();
+ this.clear();
+ this.cardSet = this.cardDecks.SHAPEDECK;
+ this.deckAnswer = this.shapeAnswer;
+ this.setCardContent();
+ document.getElementById("nav-flag").innerHTML = getMessage("shapes");
+ document.getElementById("card-answer").style.color = "#499aff";
+ document.getElementById("card-answer").innerHTML = this.deckAnswer[this.cardCount];
+ };
+
+ /**
+ * FlashCards.shapeDeckClicked() plays the button click audio, navPane animation, and calls the setter for this deck
+ * @private
+ */
+ FlashCards.prototype.shapeDeckClicked = function () {
+ this.buttonClickSound.play();
+ this.navPaneClicked();
+ this.setShapeDeck();
+ };
+
+ /**
+ * FlashCards.getCountingDeckAnswers() will call getMessage to get the localized answers for this deck
+ * @private
+ */
+ FlashCards.prototype.getCountingDeckAnswers = function () {
+ this.countingAnswer = [];
+ this.countingAnswer[0] = getMessage("one");
+ this.countingAnswer[1] = getMessage("two");
+ this.countingAnswer[2] = getMessage("three");
+ this.countingAnswer[3] = getMessage("four");
+ this.countingAnswer[4] = getMessage("five");
+ this.countingAnswer[5] = getMessage("six");
+ this.countingAnswer[6] = getMessage("seven");
+ this.countingAnswer[7] = getMessage("eight");
+ this.countingAnswer[8] = getMessage("nine");
+ this.countingAnswer[9] = getMessage("ten");
+ };
+
+ /**
+ * FlashCards.setCountingDeck() set the game to play through the this deck
+ * @private
+ */
+ FlashCards.prototype.setCountingDeck = function () {
+ this.whipCrackSound.play();
+ this.clear();
+ this.cardSet = this.cardDecks.COUNTINGDECK;
+ this.deckAnswer = this.countingAnswer;
+ this.setCardContent();
+ document.getElementById("nav-flag").innerHTML = getMessage("counting");
+ document.getElementById("card-answer").style.color = "navy";
+ document.getElementById("card-answer").innerHTML = this.deckAnswer[this.cardCount];
+ };
+
+ /**
+ * FlashCards.countingDeckClicked() plays the button click audio, navPane animation, and calls the setter for this deck
+ * @private
+ */
+ FlashCards.prototype.countingDeckClicked = function () {
+ this.buttonClickSound.play();
+ this.navPaneClicked();
+ this.setCountingDeck();
+ };
+
+ /**
+ * FlashCards.getSpanishDeckAnswers() will call getMessage to get the localized answers for this deck
+ * @private
+ */
+ FlashCards.prototype.getSpanishDeckAnswers = function () {
+ this.spanishAnswer = [];
+ this.spanishAnswer[0] = getMessage("sun");
+ this.spanishAnswer[1] = getMessage("cloud");
+ this.spanishAnswer[2] = getMessage("cat");
+ this.spanishAnswer[3] = getMessage("dog");
+ this.spanishAnswer[4] = getMessage("tree");
+ this.spanishAnswer[5] = getMessage("fish");
+ this.spanishAnswer[6] = getMessage("fruit");
+ this.spanishAnswer[7] = getMessage("worm");
+ this.spanishAnswer[8] = getMessage("bird");
+ this.spanishAnswer[9] = getMessage("crocodile");
+ this.spanishAnswer[10] = getMessage("book");
+ this.spanishAnswer[11] = getMessage("socks");
+ this.spanishAnswer[12] = getMessage("cup");
+ this.spanishAnswer[13] = getMessage("chair");
+ };
+
+ /**
+ * FlashCards.setSpanishDeck() set the game to play through the this deck
+ * @private
+ */
+ FlashCards.prototype.setSpanishDeck = function () {
+ this.whipCrackSound.play();
+ this.clear();
+ this.cardSet = this.cardDecks.SPANISHDECK;
+ this.deckAnswer = this.spanishAnswer;
+ this.setCardContent();
+ document.getElementById("nav-flag").innerHTML = getMessage("spanish");
+ document.getElementById("card-answer").style.color = "#000000";
+ document.getElementById("card-answer").innerHTML = this.deckAnswer[this.cardCount];
+ };
+
+ /**
+ * FlashCards.spanishDeckClicked() plays the button click audio, navPane animation, and calls the setter for this deck
+ * @private
+ */
+ FlashCards.prototype.spanishDeckClicked = function () {
+ this.buttonClickSound.play();
+ this.navPaneClicked();
+ this.setSpanishDeck();
+ };
+
+ /**
+ * FlashCards.getColorDeckAnswers() will call getMessage to get the localized answers for this deck
+ * @private
+ */
+ FlashCards.prototype.getColorDeckAnswers = function () {
+ this.colorAnswer = [];
+ this.colorAnswer[0] = getMessage("red");
+ this.colorAnswer[1] = getMessage("purple");
+ this.colorAnswer[2] = getMessage("blue");
+ this.colorAnswer[3] = getMessage("green");
+ this.colorAnswer[4] = getMessage("orange");
+ this.colorAnswer[5] = getMessage("yellow");
+ this.colorAnswer[6] = getMessage("black");
+ this.colorAnswer[7] = getMessage("pink");
+ this.colorAnswer[8] = getMessage("white");
+ this.colorAnswer[9] = getMessage("brown");
+ this.colorAnswer[10] = getMessage("grey");
+ };
+
+ /**
+ * FlashCards.getColorDeckColors() will set the text colors for each card in this deck
+ * @private
+ */
+ FlashCards.prototype.getColorDeckColors = function () {
+ this.colorHex = [];
+ this.colorHex[0] = "#DD0000"; //red
+ this.colorHex[1] = "#7E0B80"; //purple
+ this.colorHex[2] = "#0000ff"; //blue
+ this.colorHex[3] = "#00BC00"; //green
+ this.colorHex[4] = "#DA8D00"; //orange
+ this.colorHex[5] = "#FEF600"; //yellow
+ this.colorHex[6] = "#000000"; //black
+ this.colorHex[7] = "#FF00FF"; //pink
+ this.colorHex[8] = "#FFFFFF"; //white
+ this.colorHex[9] = "#996600"; //brown
+ this.colorHex[10] = "#C0C0C0"; //grey
+ };
+
+ /**
+ * FlashCards.setColorDeck set the game to play through the this deck
+ * @private
+ */
+ FlashCards.prototype.setColorDeck = function () {
+ this.whipCrackSound.play();
+ this.clear();
+ this.cardSet = this.cardDecks.COLORDECK;
+ this.deckAnswer = this.colorAnswer;
+ this.setCardContent();
+ document.getElementById("nav-flag").innerHTML = getMessage("colors");
+ document.getElementById("card-answer").innerHTML = this.colorAnswer[this.cardCount];
+ document.getElementById("card-answer").style.color = this.colorHex[this.cardCount];
+ };
+
+ /**
+ * FlashCards.colorDeckClicked() plays the button click audio, navPane animation, and calls the setter for this deck
+ * @private
+ */
+ FlashCards.prototype.colorDeckClicked = function () {
+ this.buttonClickSound.play();
+ this.navPaneClicked();
+ this.setColorDeck();
+ };
+
+ /**
+ * FlashCards.initGame() gets the localized strings for the game play screen, sets the default deck to Shapes
+ * @private
+ */
+ FlashCards.prototype.initGame = function () {
+ this.backgroundSound.play();
+
+ document.getElementById("score-text").innerHTML = getMessage("scoreText");
+ document.getElementById("help-text").innerHTML = getMessage("helpText");
+
+ this.setGameEventListeners();
+
+ this.getColorDeckAnswers();
+ this.getColorDeckColors();
+ this.getShapeDeckAnswers();
+ this.getCountingDeckAnswers();
+ this.getSpanishDeckAnswers();
+
+ this.setShapeDeck();
+ };
+
+ /**
+ * FlashCards.playNowClicked() will initialize the game screen when Play Now button is clicked and hide the splash screen
+ * @private
+ */
+ FlashCards.prototype.playNowClicked = function () {
+ this.initGame();
+ document.getElementById("splash-screen").style.display = "none";
+ document.getElementById("game-screen").style.display = "inline";
+ };
+
+ /**
+ * FlashCards.isLastCard()
+ * @private
+ * @return true if card count is equal to the number of cards in the deck, else return false
+ */
+ FlashCards.prototype.isLastCard = function () {
+ if ((this.deckAnswer.length) === this.cardCount) {
+ return true;
+ }
+ return false;
+ };
+
+ /**
+ * FlashCards.drawStars() draws the stars for right and wrong answers
+ * @private
+ */
+ FlashCards.prototype.drawStars = function () {
+ var star,
+ count,
+ container;
+
+ //paint correct stars equal to rightCount
+ for (count = 1; count <= this.rightCount; count = count + 1) {
+ star = document.createElement("img");
+ star.setAttribute('src', 'images/StarFilled.png');
+ star.setAttribute('id', ('star' + count));
+ star.setAttribute('class', ('star'));
+ container = document.getElementById("game-screen");
+ container.appendChild(star);
+ }
+
+ //paint remaining stars as empty stars
+ for (count = (this.rightCount + 1); count <= (this.deckAnswer.length); count = count + 1) {
+ star = document.createElement("img");
+ star.setAttribute('src', 'images/StarEmpty.png');
+ star.setAttribute('id', ('star' + count));
+ star.setAttribute('class', ('star'));
+ container = document.getElementById("game-screen");
+ container.appendChild(star);
+ }
+ };
+
+ /**
+ * FlashCards.endGame() opens nav pane, plays audio sound for end of game, shows correct star score and replay button
+ * @private
+ */
+ FlashCards.prototype.endGame = function () {
+ this.trumpetFanfareSound.play();
+ this.endGameFlag = true;
+ this.navPaneClose();
+ document.getElementById("card").style.display = "none";
+ document.getElementById("card-flip").setAttribute("id", "card-graphic");
+
+ this.drawStars();
+
+ //if user got more right than wrong then show localized strings for "good job" else show localized strings for "try again"
+ if (((this.deckAnswer.length) - this.rightCount) < this.rightCount) {
+ document.getElementById("endgame-prompt").innerHTML = getMessage("goodJob");
+ } else {
+ document.getElementById("endgame-prompt").innerHTML = getMessage("tryAgain");
+ }
+
+ //set card answer color and display replay button
+ document.getElementById("endgame-prompt").style.display = "inline";
+ document.getElementById("replay-button").style.display = "inline";
+ };
+
+ /**
+ * FlashCards.flipCard() hide answers and moves to next card in the deck, increments counters and checks for end game state
+ * @private
+ */
+ FlashCards.prototype.flipCard = function () {
+ this.hideAnswer();
+ document.getElementById("card-graphic").setAttribute("id", "card-flip");
+ this.cardCount = this.cardCount + 1;
+ if (!this.isLastCard()) {
+ this.cardFlipSound.play();
+ this.setCardContent();
+ document.getElementById("card-answer").innerHTML = this.deckAnswer[this.cardCount];
+ if (this.cardSet === this.cardDecks.COLORDECK) {
+ document.getElementById("card-answer").style.color = this.colorHex[this.cardCount];
+ }
+ document.getElementById("card-flip").setAttribute("id", "card-graphic");
+ } else {
+ this.endGame();
+ }
+ };
+
+ /**
+ * FlashCards.wrongButtonClicked() plays audio sounds, increments wrongCount and calls flipCard()
+ * @private
+ */
+ FlashCards.prototype.wrongButtonClicked = function () {
+ this.wrongAnswerSound.play();
+ this.buttonClickSound.play();
+ this.flipCard();
+ };
+
+ /**
+ * FlashCards.rightButtonClicked() plays audio sounds, increments rightCount and calls flipCard()
+ * @private
+ */
+ FlashCards.prototype.rightButtonClicked = function () {
+ this.rightAnswerSound.play();
+ this.buttonClickSound.play();
+ this.rightCount = this.rightCount + 1;
+ this.flipCard();
+ document.getElementById("score-number").innerHTML = this.rightCount;
+ };
+
+ /**
+ * FlashCards.replayButtonClicked() restarts current game and calls clear()
+ * @private
+ */
+ FlashCards.prototype.replayButtonClicked = function () {
+ if (this.cardSet === this.cardDecks.COLORDECK) {
+ this.colorDeckClicked();
+ } else if (this.cardSet === this.cardDecks.SHAPEDECK) {
+ this.shapeDeckClicked();
+ } else if (this.cardSet === this.cardDecks.SPANISHDECK) {
+ this.spanishDeckClicked();
+ } else if (this.cardSet === this.cardDecks.COUNTINGDECK) {
+ this.countingDeckClicked();
+ }
+ this.clear();
+ };
+
+ /**
+ * FlashCards.showAnswer() will show right and wrong buttons, answer and set cursor type
+ * @private
+ */
+ FlashCards.prototype.showAnswer = function () {
+ document.getElementById("answer").style.display = "inline";
+ };
+
+ /**
+ * FlashCards.cardClicked() plays button click sound, makes sure the nav pane is closed, and if not end game state will call showAnswer()
+ * @private
+ */
+ FlashCards.prototype.cardClicked = function () {
+ this.buttonClickSound.play();
+ this.navPaneClose();
+ if (!this.endGameFlag) {
+ this.showAnswer();
+ }
+ };
+
+ /**
+ * FlashCards.scrollNavPane will scroll the navigation Pane the direction the user moves the mouse
+ * @private
+ */
+ FlashCards.prototype.scrollNavPane = function (delta) {
+ document.getElementById("scroll-items").style.webkitTransform = "translateY("+delta+"px)";
+ };
+
+ /**
+ * FlashCards.setGameEventListeners sets event handlers for the game
+ * @private
+ */
+ FlashCards.prototype.setGameEventListeners = function () {
+ var self = this,
+ starty = 0, //starting y coordinate of drag
+ isDrag = -1; //flag for qualifying drag event
+
+ document.getElementById("nav-pane").addEventListener('click', function () {
+ self.navPaneClicked();
+ }, false);
+ document.getElementById("scroll-overlay").addEventListener('mousedown', function (e) {
+ starty = e.clientY;
+ isDrag = 0; //mouse down
+ }, false);
+ document.getElementById("scroll-overlay").addEventListener('mousemove', function (e) {
+ isDrag = 1; //mouse move
+ }, false);
+ document.getElementById("scroll-overlay").addEventListener('mouseup', function (e) {
+ if(isDrag === 1) { //if equals 1 is drag event
+ self.scrollNavPane((-1)*(starty-e.clientY));
+ }
+ isDrag = -1; //regardless reset endy
+ }, false);
+ document.getElementById("shape-deck").addEventListener('click', function () {
+ self.shapeDeckClicked();
+ }, false);
+ document.getElementById("color-deck").addEventListener('click', function () {
+ self.colorDeckClicked();
+ }, false);
+ document.getElementById("counting-deck").addEventListener('click', function () {
+ self.countingDeckClicked();
+ }, false);
+ document.getElementById("spanish-deck").addEventListener('click', function () {
+ self.spanishDeckClicked();
+ }, false);
+ document.getElementById("card").addEventListener('click', function () {
+ self.cardClicked();
+ }, false);
+ document.getElementById("card-answer").addEventListener('click', function () {
+ self.cardClicked();
+ }, false);
+ document.getElementById("wrong-button").addEventListener('click', function () {
+ self.wrongButtonClicked();
+ }, false);
+ document.getElementById("right-button").addEventListener('click', function () {
+ self.rightButtonClicked();
+ }, false);
+ document.getElementById("replay-button").addEventListener('click', function () {
+ self.replayButtonClicked();
+ }, false);
+ document.getElementById("help-icon").addEventListener('click', function () {
+ self.helpClicked();
+ }, false);
+ document.getElementById("help-close").addEventListener('click', function () {
+ self.helpCloseClicked();
+ }, false);
+ };
+
+ /**
+ * FlashCards.setSplashScreenEventListeners sets event handlers for the splash screen
+ * @private
+ */
+ FlashCards.prototype.setSplashScreenEventListeners = function () {
+ var self = this;
+ document.getElementById("play-button").addEventListener('click', function () {
+ self.playNowClicked();
+ }, false);
+ };
+
+ /**
+ * FlashCards.initSound will initialize all the sound id's for each sound file
+ * @private
+ */
+ FlashCards.prototype.initSound = function () {
+ this.buttonClickSound = new GameSound("sound-buttonclick");
+ this.adventureThemeSound = new GameSound("sound-intro", true);
+ this.cardFlipSound = new GameSound("sound-cardflip");
+ this.backgroundSound = new GameSound("sound-background", true);
+ this.swooshSound = new GameSound("sound-navpane");
+ this.trumpetFanfareSound = new GameSound("sound-end");
+ this.rightAnswerSound = new GameSound("sound-starbutton");
+ this.wrongAnswerSound = new GameSound("sound-thumbbutton");
+ this.whipCrackSound = new GameSound("sound-begin");
+ };
+
+ /**
+ * FlashCards.init() will set the license, play intro sound, and set splash screen text
+ * @private
+ */
+ FlashCards.prototype.init = function () {
+ license_init("license", "splash-screen");
+ this.initSound();
+ this.adventureThemeSound.play();
+ document.getElementById("app-name").innerHTML = getMessage("appName");
+ document.getElementById("adventure-ribbon").innerHTML = getMessage("adventureText");
+ document.getElementById("cards-ribbon").innerHTML = getMessage("cardsText");
+ document.getElementById("play-button").innerHTML = getMessage("playButtonText");
+ this.setSplashScreenEventListeners();
+ };
+
+ window.addEventListener('load', function () {
+ var App = new FlashCards();
+ App.init();
+ //hack to get active state to work on webkit
+ this.touchstart = function (e) {};
+ }, false);
+
+}());
--- /dev/null
+/*
+ * Copyright (c) 2012, Intel Corporation.
+ *
+ * This program is licensed under the terms and conditions of the
+ * Apache License, version 2.0. The full text of the Apache License is at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ */
+
+(function() {
+
+
+// Get a localized display string.
+// The default implemnetation just returns back the given lookup key, but
+// if the chrome.i18n API is avaialble is used. Failing that, if a chrome-style
+// messages.json file exists, that is used with a minimal implementation of
+// the chrome API.
+
+window.getMessage = undefined;
+
+
+// A helper function to set the text on an element without destroying the existing
+// contents of that element. Will reuse the first text node child if it exists.
+
+window.setNodeText = function (elem, msgStr)
+{
+ var substituted = false;
+ var child = elem.firstChild;
+ while (child) {
+ if (child.nodeType == Node.TEXT_NODE) {
+ child.nodeValue = msgStr;
+ substituted = true;
+ break;
+ }
+ else {
+ child = child.nextSibling;
+ }
+ }
+ if (!substituted) {
+ var textNode = document.createTextNode(msgStr);
+ elem.appendChild(textNode);
+ }
+}
+
+
+// For backwards compatibility with older versions of the API
+
+window.initGetMessage = window.initGetMessage || Function("return;");
+window.initStaticStrings = window.initStaticStrings || Function("return;");
+
+///////////////////////////////////////////////////////////////////////////////
+// private below here
+
+var messages;
+var isDone = false;
+function initGetMessage (doneCallback)
+{
+ var isCallable = doneCallback instanceof Function;
+ if (window.getMessage) {
+ isCallable && doneCallback();
+ }
+ else if (window.chrome && window.chrome.i18n && window.chrome.i18n.getMessage) {
+ window.getMessage = chrome.i18n.getMessage;
+ isCallable && doneCallback();
+ }
+ else {
+ var request = new XMLHttpRequest();
+ var path = "_locales/en/messages.json"; // TODO: choose locale correctly
+ request.open("GET", path);
+ request.onreadystatechange = function (event) {
+ var state = event.target.readyState;
+ if (4 == state) {
+ var requestStr = request.responseText;
+ try {
+ messages = JSON.parse(requestStr);
+ window.getMessage = fallbackGetMessage;
+ }
+ catch(err) {
+ console.log("Unable to read fallback messages from " + path);
+ window.getMessage = errorGetMessage;
+ }
+ isCallable && doneCallback();
+ }
+ };
+ request.send();
+ }
+}
+
+function errorGetMessage (key, args)
+{
+ var msgStr = "!!" + key;
+
+ var substitutions;
+ if (args === undefined) {
+ substitutions = [];
+ }
+ else if (args instanceof Array === false) {
+ substitutions = [args];
+ }
+ else {
+ substitutions = args;
+ }
+
+ msgStr += (" " + substitutions.join(" "));
+ return msgStr;
+}
+
+function fallbackGetMessage (key, args)
+{
+ var msgStr = "";
+ if (key in messages) {
+ var msgData = messages[key];
+ if ("message" in msgData) {
+ msgStr = msgData.message;
+ }
+ }
+
+ var substitutions;
+ if (args === undefined) {
+ substitutions = [];
+ }
+ else if (args instanceof Array === false) {
+ substitutions = [args];
+ }
+ else {
+ substitutions = args;
+ }
+
+ // This simple routine just substitutes args in order
+ // Does not use the "contents" value.
+ var matches;
+ do {
+ matches = msgStr.match(/\$([0-9]+)/);
+ if (matches) {
+ var argNum = matches[1] - 1;
+ var newStr = (argNum in substitutions) ? substitutions[argNum] : "<null>"; //TODO should be ""?
+ msgStr = msgStr.replace(matches[0], newStr);
+ }
+ } while (matches);
+
+ msgStr = msgStr.replace(/\$\$/g, "$");
+ return msgStr;
+}
+
+function initStaticStrings ()
+{
+ if (window.getMessage) {
+ var elemList = document.querySelectorAll(".i18n");
+ var numElems = elemList.length;
+ var elem;
+ for (var i = 0; i < numElems; ++i) {
+ elem = elemList[i];
+ if (elem.id) {
+ var msgStr = window.getMessage(elem.id);
+ setNodeText(elem, msgStr);
+ }
+ }
+ }
+}
+
+document.addEventListener("DOMContentLoaded", initStaticStrings, false);
+initGetMessage(initStaticStrings);
+
+})();
--- /dev/null
+/*
+ * Copyright (c) 2012, Intel Corporation.
+ *
+ * This program is licensed under the terms and conditions of the
+ * Apache License, version 2.0. The full text of the Apache License is at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ */
+
+function license_init(id, hpageid)
+{
+ var lbtn = document.getElementById(id+"btnl");
+ var qbtn = document.getElementById(id+"btnq");
+ var lpage = document.getElementById(id+"page");
+ var hpage = document.getElementById(hpageid);
+ var ltext = document.getElementById(id+"text");
+ var lscroll = document.getElementById(id+"scroll");
+ var timer;
+
+ var request = new XMLHttpRequest();
+ request.open("GET", "README.txt", false);
+ request.onload = function(e) {
+ var text = this.responseText;
+ text = text.replace(/</g,"<");
+ text = text.replace(/>/g,">");
+ var lines = text.split("\n");
+ lines[0] = "<br><br>"+lines[0];
+ for(var i in lines)
+ {
+ if(lines[i].match(/--------------------/))
+ {
+ lines[i] = "";
+ }
+ else
+ {
+ lines[i] += "<br>";
+ }
+ }
+ lscroll.innerHTML = lines.join("\n");
+ }
+ request.send();
+
+ lbtn.onclick = function() {
+ /* initialize scroll rate */
+ var dY = 2;
+ var t0 = 0;
+ var delay = 1000;
+
+ /* set the scroller to the top position */
+ lscroll.style.top = "0px";
+
+ /* display the license page, hide its parent */
+ hpage.style.display="none";
+ lpage.style.display="block";
+
+ /* calculate the scroll length when the window is shown */
+ var maxY = lscroll.clientHeight - ltext.clientHeight;
+
+ /* start the autoscroll interval */
+ timer = setInterval(function() {
+ /* get the actual interval, in case performance slows us down */
+ var t1 = (new Date()).getTime();
+ var dT = (t0 == 0)?20:(t1-t0);
+ t0 = t1;
+
+ /* delay specific number of milliseconds */
+ delay -= dT;
+ if(delay > 0)
+ return;
+
+ /* calculate the new top position using dY and dT */
+ var newY = Math.abs(parseInt(lscroll.style.top)) + ((dT/40)*dY);
+ if(newY > 0)
+ lscroll.style.top = (-1 * newY) + "px";
+ else
+ lscroll.style.top = "0px";
+
+ /* if the lscroll has hit the limit, delay and swing */
+ /* the other way */
+ if(newY >= maxY)
+ {
+ delay = 5000;
+ dY = -20;
+ }
+ else if(newY <= 0)
+ {
+ delay = 5000;
+ dY = 2;
+ }
+ }, 40);
+ };
+
+ qbtn.onclick = function() {
+ hpage.style.display="block";
+ lpage.style.display="none";
+ clearInterval(timer);
+ };
+}
+
--- /dev/null
+/*
+ * Copyright (c) 2012, Intel Corporation.
+ *
+ * This program is licensed under the terms and conditions of the
+ * Apache License, version 2.0. The full text of the Apache License is at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ */
+
+function GameSound(id, loop) {
+ var me = this;
+ this.id = id;
+ this.soundobj = document.getElementById(id);
+ this.enable = false;
+ this.infocus = true;
+ this.loop = (loop == undefined)?false:loop;
+ this.focus = function focus() {
+ if(!me.infocus)
+ {
+ me.infocus = true;
+ if(me.enable&&me.loop)
+ me.soundobj.play();
+ }
+ };
+ this.blur = function blur() {
+ if(me.infocus)
+ {
+ me.infocus = false;
+ if(me.enable&&me.loop)
+ me.soundobj.pause();
+ }
+ };
+ window.addEventListener('focus', me.focus, false);
+ window.addEventListener('blur', me.blur, false);
+
+ this.play = function play() {
+ this.enable = true;
+ if(this.infocus)
+ this.soundobj.play();
+ };
+ this.pause = function pause() {
+ this.enable = false;
+ this.soundobj.pause();
+ };
+}
--- /dev/null
+{
+ "app": {
+ "launch": {
+ "container": "panel",
+ "width":1024,
+ "height":600,
+ "local_path": "index.html"
+ }
+ },
+ "name": "Adventure FlashCards",
+ "version": "0.2.0",
+ "description": "A learning application.",
+ "icons": {
+ "128": "icon_128.png",
+ "48": "icon_48.png",
+ "16": "icon_16.png"
+ },
+ "default_locale": "en",
+ "permissions": [ ],
+ "homepage_url" : "https://01.org/webapps/content/kids-adventure-flash-cards",
+ "update_url" : "https://01.org/webapps/content/kids-adventure-flash-cards/update.xml"
+}
\ No newline at end of file
--- /dev/null
+<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
+<SignedInfo>
+<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
+<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
+<Reference URI="css/flashcards.css">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5m+OgEvmFoL4n6ZgO3qDGnnWbzGcjxdwGj/HPQS9qUs=</DigestValue>
+</Reference>
+<Reference URI="css/license.css">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>oQ/Ye9emeGYhcN5qXHZ9tVl39bkavAUQ5h8xOFsKRn0=</DigestValue>
+</Reference>
+<Reference URI="TODO">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gpdZPYB5/6Ik4nCofwdZ7GyGq/7WMWJHg4nq9/gr1Pc=</DigestValue>
+</Reference>
+<Reference URI="icon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>wfwuPIJiNBXrBw5Nl4NE8B7X1QpT3UVtFoiOoAiJsnU=</DigestValue>
+</Reference>
+<Reference URI="js/getMessage.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VH6u1IWlqDygRP0jamSPVfwtOMFu2IqevGAQ5wlKof8=</DigestValue>
+</Reference>
+<Reference URI="js/sound.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>RzAYQlHfV+peL78vNwSKxLEKAVbxThQuvqu7dMI/cJs=</DigestValue>
+</Reference>
+<Reference URI="js/license.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>wpfT8nF4zYoC1X7VZWfYGXLOdXs+meoayLeLCe83P4w=</DigestValue>
+</Reference>
+<Reference URI="js/flashcards.js">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>GjxdTcQsdNwjLrP0cCsFk3O0DA2zL/yw3ACxBzzMvZA=</DigestValue>
+</Reference>
+<Reference URI="fonts/CarterOne.ttf">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>uATqMreJMwpdJMc4c/Clqc1LQUn/xK6ht6TCB+ORihk=</DigestValue>
+</Reference>
+<Reference URI="config.xml">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>IrLmY2BeCMtvXHVE+tvzUfxPOf3vkikXBEydhullNNQ=</DigestValue>
+</Reference>
+<Reference URI="manifest.json">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2xYUa3hCD/t3VfoZlT41hiapvjG/HqOUZXaq/bNICaI=</DigestValue>
+</Reference>
+<Reference URI="flashcards_banner.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ExjcqImMSKXS68HPqUqRGQQZfXX4mWN5GPyv+srTB4A=</DigestValue>
+</Reference>
+<Reference URI="index.html">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>KTbZo90lZNUJxmTFYr8t1oFNQKEl5QRVNNl/wXgT9RU=</DigestValue>
+</Reference>
+<Reference URI="audio/NavPaneSwoosh.ogg">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>gABoN1jaUP73NAqINuTEWVNMGoQv9uWFeEGXD3J6nNg=</DigestValue>
+</Reference>
+<Reference URI="audio/Replay.ogg">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>s8aBE6fS//syAtK4A/Z0As4e1vYfvX8X4Htzh4Cos/A=</DigestValue>
+</Reference>
+<Reference URI="audio/ThumbsDown.ogg">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BW+OnV9KDmGERQ9nqcExI9Fpx5XHCwDPJoJzB9cOEg8=</DigestValue>
+</Reference>
+<Reference URI="audio/StarButton.ogg">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WDuC5wV36dvK2Mk0fJdeO7Y2CDWIOJElaZqT+qYWc2Q=</DigestValue>
+</Reference>
+<Reference URI="audio/Theme_Loop.ogg">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>jpt5sj+3XvLwvkHRQail1tX8AaRoFoC+D3iTiZlWemY=</DigestValue>
+</Reference>
+<Reference URI="audio/GeneralButtonClick_wav.ogg">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6UaTJjb/4a+RWJqNDP8ZOaKVxXRVZSkGCiCUKoON+7o=</DigestValue>
+</Reference>
+<Reference URI="audio/WhipCrackBegin.ogg">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5jrAtSAaHdv5e4dCbqzujRF6mGnezEKny56fIwuecSQ=</DigestValue>
+</Reference>
+<Reference URI="audio/GameplayBackgroundAtmospheric_Loop.ogg">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1F9uXi0AzdugLOhX4+CFek9Pqbw1Dd3jKOwNy1pXxfA=</DigestValue>
+</Reference>
+<Reference URI="audio/CardFlip.ogg">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>tpBQD4VOzN4mDSUeSyw5u2/6+sxeCVbXunrHENmAv5k=</DigestValue>
+</Reference>
+<Reference URI="README.txt">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>p9G+Jn03veBm4TDq3u/GlWUhAG/qUtefaDG+5PgnrlQ=</DigestValue>
+</Reference>
+<Reference URI="_locales/en/messages.json">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Rrm4WR0sh8PuSAhFFz1FXmaHbTo1MoF1fTI+3/f3Bpo=</DigestValue>
+</Reference>
+<Reference URI=".project">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7P41yHZGHFF4M4BsnS3hA0nl0WxThpe+MTnBs03kCNY=</DigestValue>
+</Reference>
+<Reference URI="LICENSE">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>z8d0m5b2O9McPEK1xHG/dWgUBT6EfBDz6wA0F7xSPTA=</DigestValue>
+</Reference>
+<Reference URI="images/AdventureRibbon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>veDZ+NWQhnSPbrH+l0vPfZ+9GD7DkzaOc4bXxo6lAz4=</DigestValue>
+</Reference>
+<Reference URI="images/FlashTitle.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qmzAV4sf0RgM0Erp6n3koiFGs5TpqJJWglU+7g7GVVg=</DigestValue>
+</Reference>
+<Reference URI="images/NavCardShapes.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>zIZMLAv6Gfc5nZo3jSvx0DwtXHu8T6oBPRvtJdWOK4g=</DigestValue>
+</Reference>
+<Reference URI="images/ColorDeck10.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yY9p4xRpfp4rAaP7RAXrS435rPZq5NtQY1oDoqQuEYo=</DigestValue>
+</Reference>
+<Reference URI="images/CheckmarkButton.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>P4Sspcllf5XbZ2mQu1nuG5YkSnd852xf4CNa4pKPB2E=</DigestValue>
+</Reference>
+<Reference URI="images/NavPane.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Wyow1Lv7c+rz8kAmwKUV2mVeG4kZ3/XcP/kWd+/NvDc=</DigestValue>
+</Reference>
+<Reference URI="images/Background.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Y/20wqqjrGkvYUScKAXi6qCSwbHncBC5jo47WErwo/4=</DigestValue>
+</Reference>
+<Reference URI="images/NavCardCounting.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>bp1FHYVhvHrqiuJ9FgqoDQcRbMv1uo8yNea9nLJ2OTI=</DigestValue>
+</Reference>
+<Reference URI="images/ColorDeck2.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>VAV3RS7ZO/NqR0eqL5VZZlonv6QlPhvf7RBDQdvdEEQ=</DigestValue>
+</Reference>
+<Reference URI="images/CountingDeck8.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>160YhRYr9m2+LeOfJ33W3btvRUDHJpNui3m0e8AncWY=</DigestValue>
+</Reference>
+<Reference URI="images/ColorDeck6.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xooguRFdKYB1SVBMVvIISh82u7QW00a19zRhO8enSy0=</DigestValue>
+</Reference>
+<Reference URI="images/ColorDeck0.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>J6WEu//fpDO9s1qgZW0u0yyNT1X7Cy7avH9Q0yHow7U=</DigestValue>
+</Reference>
+<Reference URI="images/CountingDeck2.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4tvrZruO25T2UKZ8E0p4w/5xFIMjSgqYf0sON2j3s5g=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck0.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>CAPCsVP5CLOaFxxDRif3BwGNkGYtDTSQV6pz8/qu/tI=</DigestValue>
+</Reference>
+<Reference URI="images/ShapeDeck4.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>LSrQp3Bp1TnKjO94vcHJD3o0VWAObcr21Sknt46UJYM=</DigestValue>
+</Reference>
+<Reference URI="images/CardRibbon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sHZuH+JU2PfVuh4n4IhYaSzwGX1FeLBlUeQ2cjJAUz8=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck7.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>0v8yIyJOR+GPTJdP5Z4Wc022jbcf/KLSpaGKYcjpAaA=</DigestValue>
+</Reference>
+<Reference URI="images/SettingsCog.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YV79sj50DxV1khEhVZhTNsjjATjXvbLW0YxpdAL553U=</DigestValue>
+</Reference>
+<Reference URI="images/ColorDeck7.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>sS2JKcX9umBaiH3Y25PUHkEPtTzF64ZnZzmn7iHiaEo=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck12.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eOUIQk+66aredTWe85HDVn2PUhnaCQgrJW2OJufZ7hk=</DigestValue>
+</Reference>
+<Reference URI="images/NavCardBlank.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/l61J/6DSi6ubI1PMTqLr5I+DjQtwK5ExDuIIhG38Oo=</DigestValue>
+</Reference>
+<Reference URI="images/ColorDeck9.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>eZ9DXUSknUhTsMOvs0n3y6n8aRKIDZK5B9clhBh4d5g=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck13.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>WRLYbW/ZDcwjvGPCPzrLZTe3AN79g0tu95gUJeEb5Gs=</DigestValue>
+</Reference>
+<Reference URI="images/CountingDeck0.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K+SuBOpOuGo2kJraqP3LZZsw9CHK4yhbmCDLxYukmwU=</DigestValue>
+</Reference>
+<Reference URI="images/CountingDeck9.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>n59PhDR0rSUYFToJe49aUtCuqVaYZM0UIc2ButZtfDQ=</DigestValue>
+</Reference>
+<Reference URI="images/CheckmarkButtonActive.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TTw/2rZTJxdFUfFCcb79fK+SvseifmF9BSMCeW4tOo8=</DigestValue>
+</Reference>
+<Reference URI="images/NavFlag.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>ACa26O4mSr1+j0ZId7tx858AePOGqgf+Q9xHGcee6Kk=</DigestValue>
+</Reference>
+<Reference URI="images/StarEmpty.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>yMHq+xa/WCxG7Sd57HWwfS0zNOlOOV6l2VEPD1dGf6E=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck6.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>19mEPXB6X2h8y9LKW16pIXTMU+Ixe0Rlb8AmrZC21g8=</DigestValue>
+</Reference>
+<Reference URI="images/ColorDeck1.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>3fZypwfEPcZNxIWwji/zOM7UBuIpp4FoGS+Fo1ws1ck=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck3.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>iKh3wkNiE8ydsxUT+YTAwGkAcPXeYaee45EQruWGumE=</DigestValue>
+</Reference>
+<Reference URI="images/ReplayButton.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>qMNu0/J4S6FwJU2GwowZQQixmOFLjktJtb7ITBDqtec=</DigestValue>
+</Reference>
+<Reference URI="images/StarFilled.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8PfJCjwm11M/TuZu2TpPm88dApo1FMsFDDP7n/YqGA8=</DigestValue>
+</Reference>
+<Reference URI="images/RopeTop.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>RND2TH1tjTBIZBlowoIVGFb2rnf8R6lBVEWG6fXN/fs=</DigestValue>
+</Reference>
+<Reference URI="images/CardStack.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/PCqnAUsmnveahJAT+NLvoNBXmsbk8mhbHpicDmD90E=</DigestValue>
+</Reference>
+<Reference URI="images/ReplayButtonActive.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>36WBZOmGCLvtg+hIEqfhX09SJI10MSUtzL9TH4eXrMs=</DigestValue>
+</Reference>
+<Reference URI="images/CountingDeck6.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vdp2aioJC3FQCy2voKAeIUUiW/j5w5BLCAfKsQK4wTc=</DigestValue>
+</Reference>
+<Reference URI="images/NavCardColors.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>5ZkvNBq2yN9YuEbCh0XHqOc50wpn7CArQokjJ7yW5d0=</DigestValue>
+</Reference>
+<Reference URI="images/CrossButton.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>OxAwKgK85bO5GaT0w6UjnL9BZPMpbi9G5zzJEgvPnAo=</DigestValue>
+</Reference>
+<Reference URI="images/CountingDeck3.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8+hLQq8sTlpMRGDQtu0CBROgcLx2omZNduvDLRSQ9qQ=</DigestValue>
+</Reference>
+<Reference URI="images/Compass.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8ra/gtKfopZ5d1FmfQG6GHMxXUampaHdWoGfQXYhhYk=</DigestValue>
+</Reference>
+<Reference URI="images/ShapeDeck3.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>hVU1XDqbK/7UXh89/TGeBqP75wnO5Ku6dEgtex+wols=</DigestValue>
+</Reference>
+<Reference URI="images/ColorDeck4.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>JbVc91CKqAdiPxN6hCdt5UrU3jkaAyHvl1s3dd403MI=</DigestValue>
+</Reference>
+<Reference URI="images/ShapeDeck1.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8PFQz4kOA8Bv8g65Aw1anUwWOaDrxtUIPARCxxQkZrk=</DigestValue>
+</Reference>
+<Reference URI="images/ColorDeck5.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>BK+Gs7VhVSx9gVl3pGp6lhmqKP61J91XcmRDbkKjTEE=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck5.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>TDEB3XT3XQ1j5OPuay+Wu6zWihuw+lMQer5IrlGn9rw=</DigestValue>
+</Reference>
+<Reference URI="images/CountingDeck4.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>w5XHAy1ZKnEzjLDoDGvKMNhZunskMvH61h6BvYXto5o=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck4.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>xM3W1JFkY3ApcqyNAahP2BwHuSbSiJq0WqmhrptRVpU=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck10.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>1orQgu68nYJ5n4NiZ3OiCkLEhIsgq2olOzXikgqLBck=</DigestValue>
+</Reference>
+<Reference URI="images/ShapeDeck0.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8r0hhTD9ndiR2cZ+kTOu8yDXfYsj55xpGd+jB/k9IPM=</DigestValue>
+</Reference>
+<Reference URI="images/NavCardABC.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4RZyl4jyLbVJpU8U7DVrd4vPrEkY2uWoZcZGJBh6tzk=</DigestValue>
+</Reference>
+<Reference URI="images/CountingDeck5.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>8k7myo549bmY/Ht3+5AQ4i4XUcvmRRZZS0lB/mWkilY=</DigestValue>
+</Reference>
+<Reference URI="images/CountingDeck1.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>piYKnmD7cmv9H4mtlXGTTOwb4gjIhJ2CUfCmYpOwwBY=</DigestValue>
+</Reference>
+<Reference URI="images/ShapeDeck5.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>vsI2VJiYn1g4rwjSdIuULYlkbyXii6G/JmUuVBnR/tA=</DigestValue>
+</Reference>
+<Reference URI="images/BlankCard.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>dSxEidhiO8tGCtFHylaswPilZCutVS8DLQ92UgSoH3c=</DigestValue>
+</Reference>
+<Reference URI="images/AdventureRibbonTail.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>4eJ31dlKwVj67gTPaRsf2Fnp+x7vlBXpqALlI4cBHTM=</DigestValue>
+</Reference>
+<Reference URI="images/ColorDeck8.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>cRshCk+cNCAb6TQYPiLL44Wh4PdaTavHEE51qvG1Lhw=</DigestValue>
+</Reference>
+<Reference URI="images/ColorDeck3.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/dLXg3zjSHR64P9cs1zkN64Kz3b23ccBk6WiqBJCRSc=</DigestValue>
+</Reference>
+<Reference URI="images/ShapeDeck7.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>K9clTX/s5vpSq2e44LDh/0nbEKB8wcCEvLuD5uTEqCQ=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck11.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>YCD9Jll4LB740wZpqYFhs786yxqrxFLpLEosdFvb+4Q=</DigestValue>
+</Reference>
+<Reference URI="images/NavTent.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>Je01TOWPwP8ieA5qQfsBpoeHln3WZgxcRpwEGg3oOXA=</DigestValue>
+</Reference>
+<Reference URI="images/NavCardSpanish.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>m+ekIB92G+JH4PblGciZ9gFht2oDB3smwepTITQqGoI=</DigestValue>
+</Reference>
+<Reference URI="images/CountingDeck7.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>lUDJ1t62YvPF58XIx2RSMzWgGkUWlSj43H9022hWERE=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck2.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>THQh9VW3uZkbReR15o60iBa6shxZMwlk5hDdNZwRMLI=</DigestValue>
+</Reference>
+<Reference URI="images/CrossButtonActive.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>nOXQGMdoyHguZeVMFt65QHGmhRmcD/XOUo7XmSOPwJk=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck9.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>/eB0/OFHVQT8isJ6rAobXiS52nK8hpuIz5ZkE4ZLi64=</DigestValue>
+</Reference>
+<Reference URI="images/ShapeDeck6.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>l32b2h4PqxnzPc5U2Kssqc3TewMp//oH1d4UQURh9zA=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck1.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>7U5QgowW4hYcgYHZ+eS/ijx5sqQtws0PKKNXngcrZjI=</DigestValue>
+</Reference>
+<Reference URI="images/ShapeDeck2.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>c+9QLDP2IduGaalN4HxH3wmZnhkB6GkACpEaNVXahPc=</DigestValue>
+</Reference>
+<Reference URI="images/HelpIcon.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>6hlaVLf0wqsAD2rpPIf4tFyZOtRqyNiCx4IbJGYzadw=</DigestValue>
+</Reference>
+<Reference URI="images/SpanishDeck8.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>S4GhURMAHeh1mJmqTV0ly3c3AtSMUOBZJLPp/HqTSsc=</DigestValue>
+</Reference>
+<Reference URI="images/CardRibbonTail.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>NL3l8Cl+QYvLxGnXnkVGlTK/SSlfa8kmFl1tdPDor6E=</DigestValue>
+</Reference>
+<Reference URI="images/RopeBottom.png">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>wSOMD+KVxuF8tpqo3iczL8YGHMX9LwL7KKBIqGkZ5Vk=</DigestValue>
+</Reference>
+<Reference URI="Makefile">
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>2vN6JDVOgq8HgiNaT+qIdu/g8ZKraVFkUf7qpCEI6xE=</DigestValue>
+</Reference>
+<Reference URI="#prop">
+<Transforms>
+<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
+</Transforms>
+<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
+<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
+</Reference>
+</SignedInfo>
+<SignatureValue>
+ZfPi7h9Xlv5PqVGZdue9jIB1zM/ZmC1SW4kg+d28LODwt4D0wtsBpmO83UA4l41EIZomXiTfK/vt
+6jIlbN+v5lu3EU0XZmPHKbIW2XXWDjwerqCyQyJ4kA2WEzqd5od+H3ERQh2SeG1897oBTQxU05w9
+ETnfdQ9noK4qwk4yK0w=
+</SignatureValue>
+<KeyInfo>
+<X509Data>
+<X509Certificate>
+MIIC+DCCAmGgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBkzELMAkGA1UEBhMCS1IxDjAMBgNVBAgM
+BVN1d29uMRwwGgYDVQQKDBNTYW1zdW5nIEVsZWN0cm9uaWNzMQwwCgYDVQQLDANTTFAxIDAeBgNV
+BAMMF1NMUCBXZWJBcHAgVGVtcG9yYXJ5IENBMSYwJAYJKoZIhvcNAQkBFhd5dW5jaGFuLmNob0Bz
+YW1zdW5nLmNvbTAeFw0xMTEyMDgwMTMxMDBaFw0yMTExMzAwMTMxMDBaMHMxCzAJBgNVBAYTAktS
+MQ4wDAYDVQQIEwVTdXdvbjEcMBoGA1UEChMTU2Ftc3VuZyBFbGVjdHJvbmljczEMMAoGA1UECxMD
+U0xQMSgwJgYDVQQDEx9TTFAgV2ViQXBwIFRlbXBvcmFyeSBDQSBmb3IgU0RLMIGfMA0GCSqGSIb3
+DQEBAQUAA4GNADCBiQKBgQClQyI7k1NTkEoWsrIl8qWSEhvnfc77AvEUvPuYJSU+9BsQf16grM1w
+NCGdbmf/uM869FgeRMFjhT2xsHKpbXdQv8nV4LZhUevyLouE8auCkdewmQJUwujCE/fgAA+TEzAt
+bN+4Kl8T5fSYB7qqeLWEyDtvNoxTQuivEBlv31AMmwIDAQABo3sweTAJBgNVHRMEAjAAMCwGCWCG
+SAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQU3iIuHrLj
+UZjHgtS1fkzpFei8fGYwHwYDVR0jBBgwFoAUR6iPzR8iummFE1UhLcIZLV//3AMwDQYJKoZIhvcN
+AQEFBQADgYEAj0da5fhxEcgnDMZGOp07YWeIFdUmx7eGQANtHqWm7jdbG2j0vS3kGCFgqqPift8a
+pos8llZq3N65mqfLvgjdanC/cP7gR7AC3oCiE9lOSeEYxU5I/UGDjjTRCa+eJfE3UmAz8sVbrWG/
+S5WLPBgd4IQpQ0tNiGd2NLyCqaZXL7U=
+</X509Certificate>
+</X509Data>
+</KeyInfo>
+<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
+</Signature>
\ No newline at end of file