top of page
Game.png

C++ Dynamic Tic-Tac-Toe

A C++ Game created using Visual Studio. 2 player Tic-Tac-Toe game where players can set a board size (e.g., 3x3, 4x4, 5x5, etc.).

  • Genre : Simulation

  • Game Engine : Unity

  • Team Size : Independent

  • Platform : PC

Independent Project

Features

  • Dynamic Board Resizing:

    • Implemented using dynamic array in C++.​

    • Player can select the board size by inputting a board size number.

    • Memory is allocated based on the board size.

  • Input handling:

    • Utilizes C++ input streams to capture player moves.​

    • Validates and processes use input to ensure it falls within the valid range.

  • Exception Handling for Invalid Moves:

    • Uses try-catch to catch instances where a player attempts an invalid move and provides appropriate feedback​

  • Game Loop:

    • Keeps track of player turns.​

    • Performs win checks horizontally, vertically and diagonally. 

Do not hesitate to contact me to discuss a possible project or learn more about my work.

© 2023 by Avneesh Singh.

Powered and secured by Wix

Contact
bottom of page