- Step 1. About C#Introduction to C#. Running code. Comments. Errors.
- Step 2. Printing the Game BoardConsole output. Variables. Arrays. Implementing board printing.
- Step 3. Player MoveConsole input. Type conversion. Functions. Implementing a player move.
- Step 4. Players Take TurnsBoolean type. Branching. For loop. Implementing players taking turns.
- Step 5. CompletionWin requirements. Win-check function.
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