<![CDATA[Matching Game of 9 by 9 cards to click 3 cards to wincorrect]]> false false true true false ]]> ./Screenshot 2024-08-02 at 2.59.48 PM.png ;;; DESCRIPTION_EDITOR Desc Page true false _default_ Desc Page false

Card Matching Game

Introduction


What this game is


]]>
20 1 true VARIABLE_EDITOR EditableVariable true false VARIABLE_EDITOR Var Table true false VARIABLE_EDITOR Back Colors true false VARIABLE_EDITOR Timings true false VARIABLE_EDITOR Card Icons true false VARIABLE_EDITOR lookang true false CODE_EDITOR Init Page true false CODE_EDITOR message true false CODE_EDITOR debug true false EVOLUTION_EDITOR Evol Page true false = 1){ // _tools.showOkDialog("Card doesn't match!"); hint= "Card doesn't match!"; // lookang change to hint to ease clicking fast _view.audio2.play() // play wrongsound // change the colors of the cards back based on the game mode if(mode == 1){ back_color[delay_interact1] = transparent_color; back_color[delay_interact2] = transparent_color; back_color[delay_interact3] = transparent_color; //lookang } else if(mode == 2){ // memory game back_color[delay_interact1] = opaque_color; back_color[delay_interact2] = opaque_color; back_color[delay_interact3] = opaque_color; //lookang } // deactiate card_delay card_delay = -1; } ]]> CODE_EDITOR FixRel Page true false Timer: ${min}:${sec}`; time_display = "⌛Timer: "+min+":"+sec; ]]> LIBRARY_EDITOR randomisePos true false LIBRARY_EDITOR randomisePos2 true false HTML_VIEW_EDITOR HtmlView true false 0 0 0 800 600 true true Elements.Panel Elements.Label Card Matching Game"]]> Elements.Label Elements.ComboBox 0)? opts[0]:""; // selected option mode = option // changing the color based on the different mode //["training", "memory game"] //change from 1 and 2 for ease of reading for(var i = 0; i < n; i++){ if(mode == 1||mode =="training"){ // added 2 ways to reach this if statement back_color[i] = opaque_color; // back_color[i] = transparent_color // set to transparent to see cards turn black after start button is clicked } else if(mode == 2||mode == "memory game"){ back_color[i] = transparent_color; } } // randomise the cards to prevent cheating //randomisePos(); randomisePos2(); ]]> Elements.Label Elements.Button Elements.Button Elements.Label Score: ${score}`]]> Elements.Audio Elements.Audio Elements.Audio true Elements.Panel true Elements.DrawingPanel true Elements.Group2D Elements.ImageSet2D true Elements.Group2D Elements.ShapeSet2D Elements.Panel Card Matching Game

Instructions

As part of the LSS Syllabus, Secondary 1 students are expected to learn the following about the Globally Harmonised System (GHS). This application aims to make learning about lab safety more enjoyable and interesting for students.

This is a simple memory-match game.

  • 18 cards (9 symbol cards, 9 explanation cards) are faced down randomly on the play-space
  • Students click on two cards and if they match, they get a point.
  • If they don’t match, the student has to try again to pick a correct pair
  • They continue doing this until all 9 pairs are successfully match
There are also 2 different modes students can choose from:
  • The first is the easy mode, where the cards are covered initially, but when the game starts, the cards are shown throughout the duration of the game
  • The second is the hard mode, where the cards are shown initially, but when the game starts, the cards are covered throughout the duration the game
Note that you are not allowed to change the mode during the game.

]]>