Jump to content


Member Since 18 Aug 2013
Offline Last Active Sep 14 2015 01:14 PM

Posts I've Made

In Topic: Best way to implement a path system

01 May 2015 - 07:30 AM

I have searched passing by reference but I don't quite understand how that should be implemented.

Will the Enemy class still have a variable that is the path array?


I think a little example would really benefit me right now, in context of my path trouble and not a generic passing by reference.

In Topic: Tic tac toe on 5x5 board

18 August 2013 - 07:37 AM

Tic Tac Toe wouldn't work properly as a 3 in a row on a 5x5 grid.

The first will always win if they place a piece in the center or the middle ring.

No matter where the second person goes the first person will be able to place a piece on the center/middle ring, the second person has two options to block, and the first person wins on the third go.

A 4 in a row on a 5x5 grid may be a little harder but the first person will always be in the lead as the second person will have to block every single turn instead of trying to score a 4 in a row.


5 in a row, will end in more stalemates as there are more places for each other to block and only 12 ways to win.