IonicWind Software

Creative Basic => GUI Programs => Topic started by: GWS on October 04, 2012, 10:22:30 PM

Title: Tic Tac Toe
Post by: GWS on October 04, 2012, 10:22:30 PM
Hi folks,

Here's the old Tic-Tac-Toe game adapted for Creative Basic.

This version is based on an old VB program which used 'objects' (Yeuk).  Even lines were objects.
Simpler to just use the LINE command I reckon.

It incorporates some fiendish computer AI, which on the 'Expert' setting is unbeatable. ::)

I have trouble beating it even on the Average setting. :)

I ironed out a few logic errors, which would probably have been difficult to spot using the VB debugging facilities.  Mind you, the logic is so tricky, I'm not absolutely sure there isn't still the odd bug lurking .. :)

best wishes, :)

Graham