[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [gcompris/gsoc_pulkit_digital_electricity] src/activities/digital_electricity: digital_electricity: 
From:       Rudra Nil Basu <null () kde ! org>
Date:       2017-08-14 20:57:15
Message-ID: E1dhMQF-0005qI-Pz () code ! kde ! org
[Download RAW message or body]

Git commit aec21235eae45d545a00c48bf1285ec87ce66d87 by Rudra Nil Basu.
Committed on 14/08/2017 at 20:54.
Pushed by rudranilbasu into branch 'gsoc_pulkit_digital_electricity'.

digital_electricity: tutorial: NOR gate added

Basic tutorial on NOR gate added, with the goal of lighting the digital
light using a NOR gate placed in the playArea and input lists consisting
of "one" input and NOT gate. This level is aimed at teaching the basics
of the NOR gate to the user.

Signed-off-by: Rudra Nil Basu <rudra.nil.basu.1996@gmail.com>

M  +14   -0    src/activities/digital_electricity/Dataset.qml

https://commits.kde.org/gcompris/aec21235eae45d545a00c48bf1285ec87ce66d87

diff --git a/src/activities/digital_electricity/Dataset.qml b/src/activitie=
s/digital_electricity/Dataset.qml
index 4167b406..5415bc1c 100644
--- a/src/activities/digital_electricity/Dataset.qml
+++ b/src/activities/digital_electricity/Dataset.qml
@@ -223,6 +223,20 @@ QtObject {
             introMessage: [
                 qsTr("Light the bulb using the three switches such that th=
e bulb glows when odd number of the switches are turned on")
             ]
+        },
+        // level 11
+        {
+            inputComponentList: [one, notGate],
+            playAreaComponentList: [norGate, digitalLight],
+            determiningComponentsIndex: [1],
+            wires: [ [0, 0, 1, 0] ],
+            playAreaComponentPositionX: [0.6, 0.8],
+            playAreaComponentPositionY: [0.5, 0.5],
+            introMessage: [
+                qsTr("A NOT gate takes 2 binary input and outputs 1 if bot=
h of them are 0, otherwise produces an output of 1."),
+                qsTr("For a more detailed description about the gate, sele=
ct it and click on the info button."),
+                qsTr("Light the bulb using the NOR gate provided.")
+            ]
         }
     ]
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic