top of page


Game with board size of 6

Game with board size of 6
1/1
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.
-
bottom of page