Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:21 07 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Chess

Author Message
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 08:02am 10 Sep 2016
Copy link to clipboard 
Print this post

I hope I am not banned from posting files here, after my last post... always my best intentions to help everyone.

Here is my little chess program.

2016-09-10_175331_chess.zip

It should work fine on any 800x480 panel with MM+ V5.2. The only unfinished parts are the load/save dialogs, which I might do someday as well.

Any combination of players and computer is allowed, even injecting human turns into a computer game and vice versa. The game works with two human players by default, and there is a button called "ello" which simply makes a computer-calculated turn to whichever player is currently to make a turn.
Of course do not expect high from its brain It is very, very, very far from smart (probably at 5-year old kid level), but it does play by the rules. And being entirely in Basic, it is not blazingly fast as well, but still acceptable.
The algorithm for evaluation of the current board situation is the simplest possible and can be optimised a lot. Anyone willing to take their chances in that or other improvements is welcome to do so, just publish the code so others can enjoy as well


http://rittle.org

--------------
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4036
Posted: 03:41am 11 Sep 2016
Copy link to clipboard 
Print this post

Not had a chance to try it but a cool idea.

I sure hope you'll not get banned. The last thread left me hoping no closed-source approach occurs as (for example) we might never have had matherp's contributions - and they'd be missed!!

John
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 946
Posted: 04:21am 11 Sep 2016
Copy link to clipboard 
Print this post

Hi Kon,

(...I felt something and I downloaded your version immediately before it was gone )

thank you very much for sharing your chess program!!! Do you have a non graphical version? My dream is to move a robot arm with it to play against a Micromite...

Frank
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9589
Posted: 03:23pm 11 Sep 2016
Copy link to clipboard 
Print this post

I don't think you would get banned for posting your own MMBASIC program.

Posting a version of MMBASIC source with your own additions is another matter though, and I expect that was why Gizmo deleted the entire thread. I did not complain about that thread, but I did read it before it vanished. Releasing a new public version with your improvements, having never touched any of Geoff's original source, is still a no-no based on the license.

[Quote=Frank](...I felt something and I downloaded your version immediately before it was gone) [/Quote]

And therein lies the problem. If you have any future problems with MMBASIC, I expect you will go right to Kon for any help because this is technically an un-supported version you are now using.
Kon is obviously very clever with C etc, and I am sure he has the best intentions, but there are little boundries you are supposed to stick to - even in open-source.

Look at what happened a few years ago with Linux - some fella tried to take Linus's work, and trademark it for himself, simply cos Linus had chosen not to do that and keep Linux open-source. This fella then started lawsuits against all the big Linux distros demanding thousands in royalties for use of "His" trademarked name. It was only settled in court, when Linus was awarded the Linux name. This whole thing should never have happened, but this is what people can sometimes do all in the name of open-source. In their interpretation, open-source means open to them to do whatever they like - literally - to the point of even claiming all Linus's work as something they can then trademark, having never contributed one line to it, nor helped with it in any way.

Unfortunately, ill-gotten-gain is a big thing with many unscruplous people.

I am just hoping to illustrate how easy it can be for someone else's idea of open-source to be perceived as their right to do whatever the hell they like with other peoples' work.

The Linux case was a bit extreme, but the very fact that it happened at all proves the point that it can happen at all, if you see what I mean.

Let me be clear - I am also not accusing Kon of trying to do anything like the Linux thing above, I am just using that as an example. I know that Kon did the other thread with the best of intentions, but the fact remains that this was still a no-no if you read Geoff's licence.
Smoke makes things work. When the smoke gets out, it stops!
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025