Visual Basic 6.0 Chess Program Part 2
Posted on December 17, 2008

this is my chess program written in VB6
some of my chess code.
Dim board(64) As Long
'constants for Abs(pin) direction
Const horizontal = 0
Const vertical = 1
Const diagonal1 = 2
Const diagonal2 = 3
Function comparePlane(square1, square2)
a = getA(square1)
b = getB(square1)
c = getA(square2)
d = getB(square2)
e = Sgn(a - c): f = Sgn(b - d)
comparePlane = GetPlane(e, f)
End Function
Function getA(a)
getA = a Mod 8
End Function
Function getB(a)
getB = Int(a / 8)
End Function
Function putAB(a, b)
putAB = a + b * 8
End Function
vb2008 vb 2008 visual studio 6 drag and drop
chess font chess game
Chess visual basic jrobichess capture king games vb vb6 tutorial
Related posts:
- Visual Basic 2008 – Talking Program – Tutorial – Ace™
- Visual Studio 2008 – Beeper
- Visual Basic 2008 – Font And Color
- Visual Basic 2008 Basic Web Browser Tutorial
- Visual Basic visual studio 2008 Relational DataBase Part2 2
- Visual Basic 2008 Program Control System
- Mastering Microsoft Visual Basic 2008
- Visual Basic 2008 Tuts ::: Web Seacher Tutorial
- My CoOl Notepad program made in Visual Basic 2008 express edition!
- Visual basic 2008 – How to make you’re first program
December 18th, 2008 - 21:22
Youtube search
Fishing Pole: First Blood pt 1
Chess meet Rambo
January 11th, 2009 - 12:13
WTF how long did that take you
January 11th, 2009 - 12:35
it took me about 2 months to write the code and about another month of debugging and tweaking,
i didnt work on it every day though. (sometimes yes everyday )
January 11th, 2009 - 12:36
wow .. well done!
January 11th, 2009 - 15:55
thanks!
January 11th, 2009 - 15:57
this program recently beat a 1000 elo player from FICS 3 1/2 out of 6 games. !!
January 21st, 2009 - 21:08
holy fuck man i should of made that shit for my ISU in Computer class
February 13th, 2009 - 13:08
what is ‘ISU’?
February 13th, 2009 - 15:22
Isu is the last big assignment in a class in highschool. In my computer class our Isu was to make a game with Visual Basic and I epic failed
February 17th, 2009 - 20:49
Hey. Nice! I’m trying to make a blackjack game and I can’t even do that.
July 4th, 2009 - 11:17
is that all the syntax you made? (on the right side)
July 21st, 2009 - 19:20
yep ;) thot id brag i sort of innovated that but its not really incredible but it works