Match 3 or More Puzzle Project Base!
This project has a fun menu screen, particles, player icon selection, and scalable board sizes!
All code scripts are ...
by Andy Wang
Price History +
This project has a fun menu screen, particles, player icon selection, and scalable board sizes!
All code scripts are found in TicTacToe/Assets/Scripts
Features :
- Players can select from four different tokens to play Tic Tac Toe with, but cannot share the same token. Players cannot proceed unless both have selected their player pieces.
- Board sizes of 3x3 and 4x4 are available for the player to choose from, but it defaults to 3x3 if nothing is selected. The boards are generated from code using tile prefabs - allowing for any n x n game board to be generated!
- Win conditions are determined by the checking and updating of a one dimensional array that contains an index for each possible winning combination. Only requires one for loop. The formulas for solutions also scale to board size, so once again, any board of n x n can be generated and made playable!
- Moves are stored in a List of custom GameData class objects. ManagerScript.cs contains the class at the bottom - with the storing logics happening in the Click()
Questions? Suggestions?
Email me at :
andywang.gd@gmail.com
**Image credits in the project README
All code scripts are found in TicTacToe/Assets/Scripts
Features :
- Players can select from four different tokens to play Tic Tac Toe with, but cannot share the same token. Players cannot proceed unless both have selected their player pieces.
- Board sizes of 3x3 and 4x4 are available for the player to choose from, but it defaults to 3x3 if nothing is selected. The boards are generated from code using tile prefabs - allowing for any n x n game board to be generated!
- Win conditions are determined by the checking and updating of a one dimensional array that contains an index for each possible winning combination. Only requires one for loop. The formulas for solutions also scale to board size, so once again, any board of n x n can be generated and made playable!
- Moves are stored in a List of custom GameData class objects. ManagerScript.cs contains the class at the bottom - with the storing logics happening in the Click()
Questions? Suggestions?
Email me at :
andywang.gd@gmail.com
**Image credits in the project README