concept simulation in category javascript

appears as: simulation
Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond

This is an excerpt from Manning's book Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond.

  • Build a simulation that takes two prisoners, compares their actions, and keeps score
  • 19.4. Putting the simulation together

    Now you need to write a test function that actually does the simulation of taking the contestants’ prisoners and interrogating them against each other, as the next listing shows.