You are at the end of the lesson.
"+
""+
"| Your score: | "+
""+nUserScore+
" |
"+
"| Maximum score: | "+
""+nMaxScore+
" |
"+
"| Accuracy: | "+
""+nAccuracy+
"% |
"+
"| Number of steps: | "+
""+nSteps+
" |
"+
"| Number of retries: | "+
""+nRetries+
" |
"+
"
"+
""+
"
"+
""+
""
launchwin(htmlString);
}
if ( command == "userscore") { userscore = args }
if ( command == "maxscore") { maxscore = args }
if ( command == "retries") { retries= args }
if ( command == "steps") { steps = args }
if ( command == "accuracy") { accuracy = args }
}
function launchwin(htmlString){
newwin = window.open("","flashcamwin","height=300,width=300,scrollbars=0")
newwin.document.open();
newwin.document.write(htmlString)
newwin.document.close()
}
function rd1()
{
robodemo.SetVariable('tb294', ''); robodemo.TGotoLabel('/', '3')
}
function rd2()
{
robodemo.SetVariable('tb294', '');robodemo.TGotoLabel('/', '3')
}
function rd3()
{
robodemo.SetVariable('tb294', ''); robodemo.TGotoLabel('/', '3')
}
function rd4()
{
robodemo.SetVariable('tb365', ''); robodemo.TGotoLabel('/', '13')
}
function rd5()
{
robodemo.SetVariable('tb365', ''); robodemo.TGotoLabel('/', '13')
}
function rd6()
{
robodemo.SetVariable('tb375', ''); robodemo.TGotoLabel('/', '14')
}
function rd7()
{
robodemo.SetVariable('tb375', ''); robodemo.TGotoLabel('/', '14')
}
function rd8()
{
robodemo.SetVariable('tb365', ''); robodemo.TGotoLabel('/', '13')
}
function robodemo_DoFSCommand(command, args)
{
doScoring(command,args);
if (command == "rd1") { rd1() }
if (command == "rd2") { rd2() }
if (command == "rd3") { rd3() }
if (command == "rd4") { rd4() }
if (command == "rd5") { rd5() }
if (command == "rd6") { rd6() }
if (command == "rd7") { rd7() }
if (command == "rd8") { rd8() }
}
// -->