Chess program
Well, here's the link to the last thing I made. I was going through some stuff on file-pasta and found the source for what I made. I was just curious if the game is totally abandoned?
http://file-pasta.com/d/392.rar
http://file-pasta.com/d/392.rar
Hi.
I'm sorry but I haven't been coding on this project since my last post here above (last year).
Dr_D, I owe many excuses to you in particular, because you contributed great great code and supported me much.
My problem was:
* your code was too difficult for me; as you can see from my listing - if you still have a copy - I use very basic and straightforward coding structures (ie. no pointers, no classes, nothing advanced, just functions and a variable of type function)
* I was not able (and still I haven't learned) to use Open GL or any other graphic library (in fact I like FreeBasic as a progr. language because it has an internal GL, so you can put things on screen without having to learn anything else, i never got on with C for this reason). Of course you can do great things in 3d only by using GL's.
Both these reasons are beside the point, they have to do with me being lazy. My real technical problem at the time was that the flow of my program went back and forth from graphic functions beacuse it had to check if the move proposed by the player was valid or not. Basically I didn't know how to go back and forth from Open GL.
Plus of course the AI was dumb and buggy and needed a lot of care, but only after the graphic routines were ok.
At the end I got stuck in my problems and ceased coding altogether.
(Then I started again onto another thing - which is a i8080 simulator/cross assebler, like a playground for coding in 8 bit assembler, which I'm currently testing and will post in a some days).
Of course the code for both programs is property of the FreeBasic community and I will post it again if you are interested, or maybe put it in some web repository of routines for others to see (instead of file anchor) if you think it may be useful.
Just tell me what you prefer.
I'm sorry but I haven't been coding on this project since my last post here above (last year).
Dr_D, I owe many excuses to you in particular, because you contributed great great code and supported me much.
My problem was:
* your code was too difficult for me; as you can see from my listing - if you still have a copy - I use very basic and straightforward coding structures (ie. no pointers, no classes, nothing advanced, just functions and a variable of type function)
* I was not able (and still I haven't learned) to use Open GL or any other graphic library (in fact I like FreeBasic as a progr. language because it has an internal GL, so you can put things on screen without having to learn anything else, i never got on with C for this reason). Of course you can do great things in 3d only by using GL's.
Both these reasons are beside the point, they have to do with me being lazy. My real technical problem at the time was that the flow of my program went back and forth from graphic functions beacuse it had to check if the move proposed by the player was valid or not. Basically I didn't know how to go back and forth from Open GL.
Plus of course the AI was dumb and buggy and needed a lot of care, but only after the graphic routines were ok.
At the end I got stuck in my problems and ceased coding altogether.
(Then I started again onto another thing - which is a i8080 simulator/cross assebler, like a playground for coding in 8 bit assembler, which I'm currently testing and will post in a some days).
Of course the code for both programs is property of the FreeBasic community and I will post it again if you are interested, or maybe put it in some web repository of routines for others to see (instead of file anchor) if you think it may be useful.
Just tell me what you prefer.
-
- Posts: 1706
- Joined: May 27, 2005 6:34
- Location: Cambodia, Thailand, Lao, Ireland etc.
- Contact:
This is my code:
http://file-pasta.com/d/2192.zip
There is some problem with the data statement, now; but it works fine with 0.15b.
Regards,
fabrizio
http://file-pasta.com/d/2192.zip
There is some problem with the data statement, now; but it works fine with 0.15b.
Regards,
fabrizio
-
- Posts: 1003
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
FreeBASIC Chess programming
Hello gentlemen !
Here is my chess program, ESCHECS 0.1 :
http://www.freebasic-portal.de/download ... s-210.html
The code is included.
The english readme is coming !
Here is my chess program, ESCHECS 0.1 :
http://www.freebasic-portal.de/download ... s-210.html
The code is included.
The english readme is coming !
-
- Posts: 1003
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact: