Chapter 23 ■ Completing the gameplay Code and player proofing your event handling
Figure 23-7. Add matching correct or incorrect answer score processing to the createQAprocessing() method
for Q2S1
Figure 23-8. Use a Run ➤ Project work process to test Q2S1 through Q2S5 answers and scoring logic before
moving on
The code shown highlighted at the bottom of Figure 23-7 is also shown in Figure 23-8 on the left side
of the figure being tested. When I click the first Button element (Chard), the scoring engine adds 1 to the
“Right:” score, as shown by the number being incremented from 0 to 1.