Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3D Chess Program in FreeBASIC
#1
Hi:

I have uploaded a 3D Chess program, FBChess, using OpenGL and the GFX lib to my web site at http://weekendcode.phatcode.net This is a mixed BASIC program, with the front end in FreeBASIC and the chess engine in BCX BASIC.

It has a model loader for static Milkshape 3d Models and demonstrates one way to manage fonts in OpenGL. It uses the WinAPI for its ini file, for its file open/save dialogs, and for DOEVENTS, but I tried hard to minimize all window specific code so I could think about making a Linux version. I did all the buttons and menu’s using font/graphics, so it would be independent of gui libs/dlls. The chess engine lib is in BCX but uses only generic code, nothing that will give problems porting.

I don’t even have a computer with Linux installed yet, but there is a first time for everything <grin>. Can you run an exe on one of those CD bootable versions of Linux?

I may convert the rest of the BCX code to FreeBASIC at some stage, but I was struggling a bit with getting pointers to work in FreeBASIC, and I have enough of it for now. Besides it works fine as is.

Perhaps I might get a few hints on finishing the project by making a Linux version? All window specific code is in one source file for easy review.

Have fun

Garvan
Reply


Messages In This Thread
3D Chess Program in FreeBASIC - by Sisophon2001 - 05-06-2005, 03:04 PM
3D Chess Program in FreeBASIC - by rdc - 05-06-2005, 03:16 PM
3D Chess Program in FreeBASIC - by Sisophon2001 - 05-06-2005, 03:36 PM
3D Chess Program in FreeBASIC - by VonGodric - 05-06-2005, 04:06 PM
3D Chess Program in FreeBASIC - by steven_basic - 05-06-2005, 05:45 PM
3D Chess Program in FreeBASIC - by Sisophon2001 - 05-06-2005, 06:08 PM
3D Chess Program in FreeBASIC - by Sisophon2001 - 05-06-2005, 06:16 PM
3D Chess Program in FreeBASIC - by v3cz0r - 05-07-2005, 01:04 AM
3D Chess Program in FreeBASIC - by Rattrapmax6 - 05-07-2005, 05:09 AM
3D Chess Program in FreeBASIC - by Sisophon2001 - 05-07-2005, 01:15 PM
3D Chess Program in FreeBASIC - by VonGodric - 05-07-2005, 01:28 PM
3D Chess Program in FreeBASIC - by VonGodric - 05-07-2005, 01:44 PM
3D Chess Program in FreeBASIC - by Sisophon2001 - 05-08-2005, 07:47 AM
3D Chess Program in FreeBASIC - by VonGodric - 05-08-2005, 11:17 AM
3D Chess Program in FreeBASIC - by Imortis - 05-09-2005, 08:37 PM
3D Chess Program in FreeBASIC - by DrV - 05-10-2005, 05:37 AM
3D Chess Program in FreeBASIC - by Sisophon2001 - 05-10-2005, 12:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)