- 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 3. Player Move
In this step we learn console input, type conversion, and functions. We implement a player move.
This step covers:
- console input
- converting a string to a number
- function structure
- function parameters
- function return value
- implementing a player move