Post: VB6 Tic Tac Toe
04-28-2010, 01:18 AM #1
EEYYAN
Save Point
(adsbygoogle = window.adsbygoogle || []).push({}); Im realllly in need of help ...
im creating a Tic tac to game in VB6 Basic and i have the X'O's being chosen by a boolean so if its X's Turn it registers as True and O its regiestered as false what i want to know is say the X gets 3 in a row how do i declare a win i have this Currently
If Command1.Caption and Command2.Caption and command3.Caption = True then -Msgbox("X Wins")
Else
If Command1.Caption and Command2.Caption and Command3.Caption=False then-Msgbox ("O Wins")
i did that for up down left right and angle's and it still wont work!

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo