QBASIC CHESS 2017
#1
Hi all,
there is a beautiful chess game included in the official QB64 distribution..
I've also found an addition to this game by OlDosLover:

http://www.qb64.net/forum/index.php?topic=5729.0

I'd like to distribute this nice addition through my website, but first I'd like to obtain the author's permission..
OlDosLover didn't reply in the topic above, does anyone know him? OlDosLover, if you read this forum could you please contact me?
I noticed also that Anthony.R.Brown started working on the original sources.. Anthony, if you want I will distribute your program, once completed..
Please let me know,
thank you,
Pierre Blanc


------------------------------------------------------------
http://www.teutoburgo.tk
Teutoburgo - A forest to navigate

http://www.site-map.tk
Site Map Generator

http://www.pierreblanc.tk
The Pierre Blanc's home page
------------------------------------------------------------
Reply
#2
@teutoburgo

First, welcome to the forum.

OldDosLover hasn't been on the QB64.net forum for three months now and there is no telling what is going on with him. I personally do not know him, but have talk with him a few times over the years.

As for Anthony R. Brown, he is no longer a member on this forum as I had to ban him for continually attacking other members. I tried talking with him through email and other means, but he refused to talk to me, and instead threatened my life. No one knows why he acted the way he did, but I wasn't going to allow him to act like that on this forum.

The sad thing is Anthony was my first member on this forum, and he was the first one to know I created it since we both came from QB64.net.

My point is that Anthony will never be able to respond to your messages on this forum, and OldDosLover has not been on this forum since 8/7/2014.
Dedicated to empowering computer programming hobbyists, tinkerers, amateurs, and enthusiasts.
profile for Walter Whitman at Stack Overflow, Q&A for professional and enthusiast programmers


Reply
#3
this is a perfect example of why i encourage people to license their programs for modification and redistribution.

its not out of being a zealot or anything. at moments like this is it purely practical. yes, its an "extra step" and seems kind of pointless at the outset, like putting a flotation jacket on feels pointless when you go boating on a lake.

it really isnt that difficult to do-- a few comments at the top or bottom of your source code, and now more people can share your work and know its alright (assuming you post it online for people to share it, of course.) there are even situations where it is not possible, without a license.
Reply
#4
@Easylangs
Very good point.

Could you provide us with some links to some various popular licenses the community could use in their demos, apps, and games?
Dedicated to empowering computer programming hobbyists, tinkerers, amateurs, and enthusiasts.
profile for Walter Whitman at Stack Overflow, Q&A for professional and enthusiast programmers


Reply
#5
@Waltersmind
It's sad, but it seems their good contributions will not be able to be distributed, as long as we cannot contact them..
If there's no other solution, I think I'll put on my website the QB64 distribution's original version..
Cheers,
Pierre Blanc


------------------------------------------------------------
http://www.teutoburgo.tk
Teutoburgo - A forest to navigate

http://www.site-map.tk
Site Map Generator

http://www.pierreblanc.tk
The Pierre Blanc's home page
------------------------------------------------------------
Reply
#6
@Pierre

You have my full permission to share any project of mine you find on this forum, or on QB64.net, on your site if you want. You can make all the modifications you want, but just let people know who wrote the original.

Have fun...
Dedicated to empowering computer programming hobbyists, tinkerers, amateurs, and enthusiasts.
profile for Walter Whitman at Stack Overflow, Q&A for professional and enthusiast programmers


Reply
#7
OlDosLover has finally responded to OP's inquiry here:
http://www.qb64.net/forum/index.php?topic=5729.0

and we are kicking around ideas of trying something...
B += x
Reply
#8
Hi all,
thanks to OlDosLover! Smile Now QBasicChess is available for download on my website:
http://www.teutoburgo.tk/misc/downloadFrame.html

I have GPLed the sources, I hope you OlDosLover agree with this..
If further developments will happen, I will be glad to update my website..
Cheers,
Pierre Blanc


------------------------------------------------------------
http://www.teutoburgo.tk
Teutoburgo - A forest to navigate

http://www.site-map.tk
Site Map Generator

http://www.pierreblanc.tk
The Pierre Blanc's home page
------------------------------------------------------------
Reply
#9
@ TempodiBasic and all, 

if you are following link, here are some current Chess files for comparing methods for clicking mouse moves.

I think Fellippe's fix is cleanest with highlighting but I also like 1 click method without highlighting mouse over squares because trying to do that the last squares are not clearing.

I am only comparing mouse move methods, TempodiBasic has advanced other parts of chess program since Fellippe's fix.


Attached Files .zip   Chess Fellippe fix.zip (Size: 511.97 KB / Downloads: 11) .zip   Chess 2_2_2.zip (Size: 518.27 KB / Downloads: 10)
B += x
Reply
#10
To my fellow Italiano, teutoburgo, you may want to edit your site description to read "written in QuickBASIC and adapted to QB64 to compile on current Windows, Linux, and Mac operating systems." or something like that. If someone downloads the source code they need to know they will have to install QB64 to get it running, not QuickBasic unless they want to run in emulated in DOSBox or on an older operating Windows only system like Windows XP 32-bit, 98, 95, etc.

Was the board and pieces from TheBOB's work at: http://www.network54.com/Realm/page_file...grams.html

Pete
Reply
#11
Hi Pete,
I created an executable (.exe) file for Windows 64 bit, and distributed along with the .bas source file. So current Windows users can run it also without QB64 if they want.
Thanks anyway for your suggestion,
bye,
Pierre Blanc


------------------------------------------------------------
http://www.teutoburgo.tk
Teutoburgo - A forest to navigate

http://www.site-map.tk
Site Map Generator

http://www.pierreblanc.tk
The Pierre Blanc's home page
------------------------------------------------------------
Reply
#12
Just me thinking more like a programmer and less like a consumer I guess. I almost always compile source rather than take a chance on running an exe file off the internet. Although i suppose these days anti-virus programs do a fairly good job, except sometimes they throw false positives. 

That's one nice advantage QB64 GL has over the former SDL platform, exe independence. The libraries to run it are all compiled in the program. 

Someday I might get the bug to debug my screen zero chess program. I recall it missed some either check or checkmate situation but I never investigated it. That was maybe 12 years ago?

Pete
Reply
#13
(06-23-2015, 03:38 AM)Adrian Huang Wrote: The person who wrote the original QBASIC chess program is Dean Menezes.
http://www.petesqbsite.com/sections/expr..._Chess.txt

@ Pete, yours the same origin as above?

And the same (or mod of same) as provided in Samples with QB64 sample programs in download package: programs>samples>misc>chess.bas
which also seems to be same as in start of Chess 2014 thread, started by ARB and OlDosLover pitching in. (edit)

And I found something by The Bob (his site, not program I guess) that is more developed than one in samples.
(edit) OK that is called DeepBasic by Thomas McBurney 2003 looks like different origin.
B += x
Reply
#14
Dean and I go way back. He was at the N54 QBasic Forum as QBGuy when I arrived. I haven't heard from him in a few years.

Pete's QBasic Site was opened by Pete Berg in 1988. He has since left the building but "Clippy" Ted Whatsaberger or however his last name is spelled, I'm too lazy to make to clicks to look it up, moderates that site now in that other Pete's absence.

Pete Shy
Reply
#15
Photo 
Hi Pete
thank's to share this other way to create an interface of chess game

It is well suited for run under qb64 and it let play chess two users , one for side :-)

Well If white is in check and tries to castle, it is forbidden, also in the issue White while castling across a square in which it goes in check.

But I find a BUG for Black, in this position that I post as image, Black King in at first its move and so the Rook in A8, moreover there is no check acrossing D8 and C8 but the program doen't let do the move giving back move forbidden!  No castle on Queenside. And also If I try to castle on Kingside it is forbidden!!!
Blush
Your program may be racist if uses different rules for whites and blacks! Big Grin


Be calm Pete, this program is democratic because also trying to castle on Queenside for White (in this position it is possible) is forbidden!

There is a bad use of some flag! It maybe.

Hey but promotion is automated to Queen! Huh It is right only 99% of times, do you agree?

In sum
Thank's again 
to show another way to code chessoboard and moving piece by two click by mouse. The rules of pieces is well coded and IMHO  must be improved about castle, promotion.


Attached Files Thumbnail(s)

Reply
#16
News about CHESS.BAS development are in new thread, naturally CHESS.BAS
Reply
#17
Quote:Your program may be racist if uses different rules for whites and blacks!
LOL - I think Elmer Fudd sang it best... 

You may be white, it may be wacist
Or it just might be a software bug you're looking for
Turn off the light
Don't try and save me
You may be wong for all I know
But you may be white

------------------------------------

Yeah, I never finished the project. There are a couple of glitches with recognizing that it isn't checkmate, either. Also, I'm sure if the one I gave a link to was the most current. 

This was from 2005 when four of us at The QBasic Forum worked together on The Kriegspiel Referee program. It is some type of chess-like program: http://www.network54.com/Forum/188265

My part was to provide the board, pieces, display, and moves but not the legal moves. I worked on that but also expanded out by making my own chess game with legal moves and other effects. Once the KR project was finished, I guess I moved on to other things. I can't remember exactly why I didn't stick around to debug it but my hunch would be it was the type of program that would be very time consuming to debug. Hard to make a debug plan and just as hard to brute force the bugs out, because of all the combinations. It was fun though. I usually stick to business apps but I learned programming by making games so this detour took me back to my origins.

The KR project was also the first and only group project I participated in. It actually went well. Everyone got along and contributed and we did come up with a finished product. We even made a song to celebrate the effort. (It's a little bit like the Archie's Party) http://www.youtube.com/watch?v=ooQ5ylQyivo

Pete is gonna be there
mennonite will be there
Mac is gonna be there too
MC's gonna be there
But Ted is gonna miss it
We left him back at the zoo

Pete Big Grin
Reply