Hello programmers! I am working on a Tic-Tac-Toe player vs. computer class, which is supposed to have a `run.()` method in order for the game to start. In a `gameWon()` member function, I am checking for a win, either by the player or by the computer. I check to see if a row was won, if a column was won, and if a diagonal was won. With each scenario, a private member function is called that returns a `bool`. In my `diagonalWon()` function, I check to see if I have an equal number of rows and columns, which means that …

Member Avatar
Member Avatar
+0 forum 8

I REALLY need some help. I ahve been writing a tic-tac-toe console application program in delphi. I had most of the logic finished for the program when I made a mistake. At the beginning of a class period the program was working fine, at the end of the class it had an error. At some point in my program I must have added an extra END;. I am unable to find this extra end (even though I might have just missed it). I was wondering if Delphi has any properties similar to the new VB where you can see which …

Member Avatar
Member Avatar
+0 forum 2

The End.