@bluebot29 Depends on how you want the computer player to be. If you want a noob computer player, you can just use random method to place its position. If you want pro computer player, you should analyze all the positions and block human player from wining.
In order to add computer player, you can add a function that will be called after human player's turn. It is just like replacing human player 2 by computer player. If you want to see a sample program with noob computer player, let me know.
I have create a computer player version. Please visit my blog for details. tutorialoflife.blogspot.com
tohcw90 7 months ago 2
Nice, I'm working on a computer player for my version, have any advice?
bluebot29 10 months ago
@bluebot29 Depends on how you want the computer player to be. If you want a noob computer player, you can just use random method to place its position. If you want pro computer player, you should analyze all the positions and block human player from wining.
In order to add computer player, you can add a function that will be called after human player's turn. It is just like replacing human player 2 by computer player. If you want to see a sample program with noob computer player, let me know.
tohcw90 9 months ago
commenting code is a very good thing to do.
warnexus 10 months ago
@warnexus Ok, I will do it next time.
tohcw90 10 months ago
Here is the link for the source : programmingbeginner.zxq.net/download.php
tohcw90 10 months ago
AWESOME! Hey, can you make a tut on how to make them shortcuts? (:
NorthWolfs 10 months ago
@NorthWolfs What do you means by that?
tohcw90 10 months ago
@tohcw90 The Windows Shortcut thing
NorthWolfs 10 months ago
@NorthWolfs I actually had a video on windows shortcut. Do you want to have step by step tutorial?
tohcw90 10 months ago
@tohcw90 Could you PM me the codes or upload your source?
NorthWolfs 10 months ago