Search JavaScript code of all Worlds for: AB msg
// AB.msg ( "Box " + boxno + " position: <tt> " + AB.vector3toString ( currentbox.position ) + "</tt>" ); AB.msg ( "Box " + boxno + " height: <tt> " + Math.floor(currentbox.position.y) + "</tt>" );
AB.msg ( ` <hr> <p> Multi-user game. Pick a side. Click buttons to change boxes on all users' machines. Drag the camera. <p>
AB.msg ("Move player with left-right and up keys.");
AB.msg ( " Step: " + AB.step + if ( AB.onDesktop() ) AB.msg ( "<p> Desktop: Keyboard arrows to move agent. Mouse drag to move camera. Mouse scroll to zoom camera. else AB.msg ( "<p> Mobile: Touch drag to move agent. Touch pinch to zoom camera. </p>" ); if ( AB.abortRun ) AB.msg ( " <br> <font color=red> <B> Agent trapped. You lose! </B> </font> ", 3 ); else AB.msg ( " <br> <font color=green> <B> Run over. </B> </font> ", 3 );
AB.msg("<p>Current number of players = " + e.length + "\n</p>", 2); // Display number of players AB.msg("<p>Time left: <strong>" + clock.currTime + "</strong> seconds</p>", 5); // Update time left screen AB.msg("<p>Time left: <strong>" + clock.currTime + "</strong> seconds</p>", 5); // Update time AB.msg(`<h3> Welcome to our game!</h3>`, 1); AB.msg(`<p><strong>Player 1</strong> Score: <strong>` + score1 + `</strong> | Highest: <strong>` + hscore1 + `</strong> </p>`, 3);
AB.msg ( ` <hr> <p> Multi-user game. Pick a character. Click buttons to change Dragon balls on all users' machines. Drag the camera.
AB.msg ( "Step: " + AB.step + " out of " + AB.maxSteps + ". Score: " + score );
// AB.msg ( "Running image recognition ... <br> ", 1 ); AB.msg ( "<font color=red> <B> Error recognising image. See console for details. </b></font> <br> ", 2 ); AB.msg ( r, 3 );
AB.msg(thehtml, 1);
AB.msg ( " <p> The job of the Mind is to move the object closer to the target. </p> " ); AB.msg ( " <p> Step: " + AB.step + " Score: " + score + " </p> ", 2 );
AB.msg ( status ); AB.msg ( status, 2 ); AB.msg ( " <br> <font color=red> <B> Agent blocked. " + BLOCKPUNISH + " extra bad steps and reset enemy. </B> </font> ", 3 ); AB.msg ( " <br> <font color=green> <B> Run over. </B> </font> ", 3 );
// AB.msg ( "Running image recognition ... <br> ", 1 ); AB.msg ( "<font color=red> <B> Error recognising image. See console for details. </b></font> <br> ", 2 ); AB.msg ( r, 3 );
AB.msg ( ` <hr> <p> This is a multi-user game.<br><br>Try dragging the camera to en-<br>joy the cosmic landscape.<br><br>Would you r
AB.msg ( " Step: " + AB.step + " out of " + AB.maxSteps + ". Score: " + score );
AB.msg ( " <p> Drag and zoom the camera (built-in). </p> " );
AB.msg ( "Step: " + AB.step );
AB.msg ( buttons, 3 ); AB.msg ( " Step: " + AB.step + " Score: <span style='" + scoreStyle + "'>" + score + "</span>" ); if ( AB.abortRun ) AB.msg ( " <br> <font color=red> <B> You are trapped. You lose! </B> </font> ", 2 ); else AB.msg ( " <br> <font color=green> <B> Run over. You survived! </B> </font> ", 2 );
AB.msg ( "Number of cities: " + (totalCities) + AB.msg ( "<br> Number of routes looked at: <b> All possible routes </b> " + AB.msg ( "<br> Number of routes looked at: " + routesLookedAt + AB.msg ( "<p> Generation: " + gen +
AB.msg ( "Line: y = " + a.toFixed(2) + " x + " + b.toFixed(2) + AB.msg ( "<br> Training on single point: " + count, 2 ); AB.msg ( "<br> Drawing points 0 to " + (count-1), 3 );
AB.msg (
AB.msg ( " <button onclick='saveData();' class='ab-normbutton mybutton' >Save work</button> " ); AB.msg ( " <button onclick='restoreData();' class='ab-normbutton mybutton' >Restore work</button> ", 2 );
AB.msg ( ` <hr> <p> Multi-user game. Pick a side. Click buttons to change boxes on all users' machines. Drag the camera. <p>
if ( AB.abortRun && p1lose) AB.msg ( " <br> <font color=red> <B> Player 1 was caught! Player 2 wins. </B> </font> ", 2 ); else if ( AB.abortRun && p2lose) AB.msg ( " <br> <font color=red> <B> Player 2 was caught! Player 1 wins. </B> </font> ", 2 );
AB.newSplash ("<p align=\"center\">Error!</p><p align=\"center\"> "+ msg +"</p>");
AB.msg ( " Step: " + AB.step + " x = (" + x.toString() + ") a = (" + a + ") " ); AB.msg ( " y = (" + y.toString() + ") <br>" + if ( AB.abortRun ) AB.msg ( " <br> <font color=red> <B> Agent trapped. Final score zero. </B> </font> ", 3 ); else AB.msg ( " <br> <font color=green> <B> Run over. </B> </font> ", 3 );
AB.msg (
AB.msg (`<ul style="padding-left: 2ch;">`
AB.msg("<p align=\"center\"> <font color=red> <B> Your lives: " + lives + "<p align=\"center\"> <font color=blue> <B> Opponent's Liv AB.msg("<p align=\"center\"> <font color=red> <B> Your lives: </B>" + lives + "<p align=\"center\"> <font color=blue> <B> Opponent'
AB.msg(winner, 7) // shows the winner
AB.msg ( "<p>Press <strong>F12 to view console!!</strong></p><p>Then try clicking and check the console</p><p>Or cheat and press <st AB.msg ("<p>Clicking reduces the number of cubes by 1. <strong>You can't remove the last special cube</strong>.</p><Pressing z w AB.msg ("</p>Pressing z will cycle through <strong>8</strong> zoom levels. <strong></p><p>CURRENT ZOOM LEVEL: " + zoom + "</stro
//--- start of AB.msgs structure: --------------------------------------------------------- // We output a serious of AB.msgs to put data at various places in the run header AB.msg ( thehtml, 1 ); AB.msg ( thehtml, 3 ); AB.msg ( thehtml, 5 );
AB.msg ( status ); AB.msg ( status, 2 ); AB.msg ( " <br> <font color=red> <B> Agent blocked. " + BLOCKPUNISH + " extra bad steps and reset enemy. </B> </font> ", 3 ); AB.msg ( " <br> <font color=green> <B> Run over. </B> </font> ", 3 );
AB.msg("Hit the arrow keys to spawn snake!"); AB.msg("P1 Score = " + p1score + " P2 score = " + p2score + "\n Time remaining: " + Math.trunc(99 - gameClock.getElapsedTim
AB.msg ( ` <hr> <p> Chess game. Pick a side. Click buttons to pick colour. <p> AB.msg ( ` <hr> <p> Chess game. Pick a side. Click buttons to pick colour. <p>
AB.msg ( " Step: " + AB.step + " out of " + AB.maxSteps + ". Score: " + score );
AB.msg ( " <p> Drag and zoom the camera (built-in). </p> " );
AB.msg("P1 Score = " + p1score + " P2 score = " + p2score + "\n Time remaining: " + Math.trunc(60 - gameClock.getElapsedTim
AB.msg( "console log shows how we search a sorted tree quickly <br> search tree for " + x + "<br>" ); if (result == null) AB.msg('not found', 2); else AB.msg('found', 2);
AB.msg ( " Step: " + AB.step + " x = (" + x.toString() + ") a = (" + a + ") " ); AB.msg ( " y = (" + y.toString() + ") <br>" + if ( AB.abortRun ) AB.msg ( " <br> <font color=red> <B> Agent trapped. Final score zero. </B> </font> ", 3 ); else AB.msg ( " <br> <font color=green> <B> Run over. </B> </font> ", 3 );
AB.msg ( status ); AB.msg ( status, 2 ); AB.msg ( " <br> <font color=red> <B> Agent blocked. " + BLOCKPUNISH + " extra bad steps and reset enemy. </B> </font> ", 3 ); AB.msg ( " <br> <font color=green> <B> Run over. </B> </font> ", 3 );