never mind I found the solution im just dumb ... cant believe I didnt check the recursive return function ... I had the wrong return function in it.
Thank for all the helps KevinWorkman.
Type: Posts; User: godofdoom999
never mind I found the solution im just dumb ... cant believe I didnt check the recursive return function ... I had the wrong return function in it.
Thank for all the helps KevinWorkman.
yup that what dVertical should be doing but it not ... kinda weird considering dVertical and uVertical is the same code going in different direction.
Thank for the fast response, I just updated the code ... just found out i had count++ in the return function. however, I have count++ above the return that should have incremented count before return...
Sorry, I updated the code with the function call. When I do sop in the following location as shown on the code I constantly get 0 and 1. The 2 function uVertical and dVertical are the same but in...
Im working on a NxN tic tac toe game and making recursive function to check the position.
The recursive function uVertical is working correctly, however, the count++ on dVertical check is not being...