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 5. Completion

Step 5. Completion

In this step we write a win-check function and finish the game implementation.
This step covers:
  • defining win requirements
  • defining the function signature
  • full game code
Step 5. Completion
  • Checking for a Win
  • Full Game Code