Devpull
  • About
  • Exercises
  • C# Kids Course
  • C# Arrays Course
  • Articles
  • Subscription
  • Log in
Course overview
  • Step 1. About C#
    Introduction to C#. Running code. Comments. Errors.
  • Step 2. Printing the Game Board
    Console output. Variables. Arrays. Implementing board printing.
  • Step 3. Player Move
    Console input. Type conversion. Functions. Implementing a player move.
  • Step 4. Players Take Turns
    Boolean type. Branching. For loop. Implementing players taking turns.
  • Step 5. Completion
    Win requirements. Win-check function.
  1. Home
  2. /
  3. Courses
  4. /
  5. C# Kids
  6. /
  7. Step 3. Player Move

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
Step 3. Player Move
  • Reading from the Console
  • Functions
  • Practice