Step 4. Players Take Turns

In this step we learn the boolean type, branching, and loops. We also implement players taking turns.
This step covers:
  • boolean type
  • boolean operations
  • branching
  • for loop
  • iterating array elements
  • using the break statement
  • using the continue statement
  • implementing players taking turns