for those with a uWatch, now in "games" section (v1.5.2)
ok, i admit the "board" is a bit lacking currently :-)
-- hugh.
Chess on the uWatch !
|
|
« Next Oldest | Next Newest »
|
▼
Post: #2
03-30-2009, 05:51 AM
for those with a uWatch, now in "games" section (v1.5.2)
ok, i admit the "board" is a bit lacking currently :-) -- hugh. ▼
Post: #3
03-30-2009, 06:13 AM
I find the field descriptors a bit confusing.
Post: #4
03-30-2009, 06:18 AM
Brilliant!, just brilliant Hugh! Which Chess engine does it use? Dave. ▼
Post: #5
03-30-2009, 08:58 AM
The chess engine is Tom Kerrigan's Simple Chess Program (TSCP). http://www.tckerrigan.com/Chess/TSCP As you can see, right now, ive only got the very basic move IO up and running. I had to adapt TSCP to run in 4K of RAM. Things like the book moves had to go, although i've noticed it makes traditional openings anyway. I've written to Tom Kerrigan to ask permission to use his work. If he is happy i might improve the interface and add more features. for example, it would be nice to have a "postal" mode, whereby you can switch out of chess back to clock/calc and later back into chess to make a move whilst continuing the same game. other easy features are; swap sides, undo, set level etc. it's been suggested already to draw the board as a scrolling two line square of letters (usual notation) and use the other screen space for move IO. I'll see what Tom says first. currently this is a demo.
▼
Post: #6
03-30-2009, 05:07 PM
Quote: I know TSCP well, I adapted it not that long ago to run on an Altium Nanoboard in a soft core MIPS processor on an FPGA:
That was the first hacked version, I subsequently got it working with bitmap pieces. The interface is touch-screen QVGA. Tom is cautious of it being redistributed, so I wouldn't be surprised if he says no to having the code merged with a GPL open source project. Dave.
Edited: 30 Mar 2009, 5:08 p.m. ▼
Post: #7
03-30-2009, 06:14 PM
Cool picture! I have had a reply from Tom, basically, he wants to retain copyright of TSCP, which is quite reasonable. But he has given us permission to use the code in the uWatch. I have repackaged TSCP into uWatch-chess.c and have agreed to add a header which states clearly that it contains a derivative work of TSCP and that the copyright remains with him. As with the TSCP original source code, people will have to acquire his permission to use it in their own projects. The fact that we are using his code does not make it become GPL nor open.
quote: So, i might have a go at drawing a board on the uWatch - don't expect too much ;-)
▼
Post: #8
03-30-2009, 07:07 PM
However, now i come to think about it, it seems that Tom's license is not compatible with the GPL. Originally, i was thinking just about copyright. the GPL does not require Tom to give up his copyright, but it does require freedom to re-use and distribute and the latter is something Tom wants to retain except where expressly allowed. not sure now.
▼
Post: #9
03-30-2009, 08:52 PM
Quote: Yes, I've heard that is a common "gotcha" with GPL. Something along the lines of any code packaged with a GPL product has to then be freely distributable and repackagble in other GPL products by others with hindrance or permission, even though the original author still retains copyright. Dave. ▼
Post: #10
03-31-2009, 05:42 AM
I'm not an expert on the GPL, but the following paragraph from Section 6 of the GPLv3 might be relevant: Quote:(my emphasis). In this, a "covered work" means a work covered by the GPL. Could the combination of the chess program with the rest of the software be viewed as an aggregate, or is it too tightly integrated with the rest of the software for this? From a philosophical point of view, including the chess code without granting the right to modify and redistribute it at will is not imposing any additional restrictions on what users can do with the code, so it seems to be compatible with the spirit of the GPL. However, I realise that such arguments are of little use in a legal context! ▼
Post: #11
03-31-2009, 07:14 AM
Hugh, if you and Dave Jones own copyright to all of the code in uWatch you could decide to licence future versions of uWatch under dual licence: 1/ gpl (version without chess) 2/ modified licence (version with chess). seems like the act of linking chess with the existing uWatch code *and then releasing it to anyone* would violate the GPL. If Linux is a guide, you could use Linux loadable modules as an analogy (tho there is much debate about that). In which case, implement a run-time plugins loader for uWatch and compile chess as a plugin. Sounds like an interesting little project... Neal. |