winter tic tac toe

juanmiguel

Newcomer
Joined
Jun 2, 2003
Messages
14
hi, i programed this game, i also did the graphics in photoshop,
the sourse code is not documented, sorry i'll fix that later.
i made it in order to learn the basic of arrays.
Would you please give me some feedback.
in the zip file i included the photoshop file and source code also.
tks
P.S. It's just a 2 players game, i might add a computer player later on.
tks for all comments.
winter tic tac toe game
 
Last edited:
Not bad at all. You could simplyfy the resetGame routine though

Visual Basic:
    Sub resetGame()
		userTurn = 0

		Dim i As Integer
		For i = 0 To 8
			clicked(i) = False
			clickedx(i) = False
			clickedO(i) = False
		Next

		Dim pb As Control
		For Each pb In Me.Controls
			If TypeOf pb Is PictureBox Then
				clearimage(pb)
			End If
		Next

		Me.lblPlayerInTurn.Text = 1
    End Sub

also could you remove the binaries (executables) from the archive - if you don't one of the admins will.
 
tks.

Hi tks for taking the time of replying, and also thank you for pointing to the improvements that i can make to the code.
I removed the .exe files already, that made the file half of the size that it was.
Any other comments are welcome.
tks.
 
Back
Top