NXC: autonomous chess program + chess robot for NXT

Discussion specific to projects ideas and support.
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

NXC: autonomous chess program + chess robot for NXT

Post by HaWe »

my current project:
NXC: chess for NXT
:)
http://www.mindstormsforum.de/viewtopic.php?f=70&t=6790
Last edited by HaWe on 09 Jun 2013, 09:52, edited 3 times in total.
spillerrec
Posts: 358
Joined: 01 Oct 2010, 06:37
Location: Denmark
Contact:

Re: NXC: chess for NXT

Post by spillerrec »

How is it going? Can't read anything since it is years ago I was taught German in school and the forum has apparently permanently banned Google Translate...
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXC: autonomous chess program + chess robot for NXT

Post by HaWe »

please ask your questions in the linked German forum, even in English!
Last edited by HaWe on 11 Jan 2012, 21:36, edited 1 time in total.
bungeshea
Posts: 207
Joined: 14 Aug 2011, 08:45
Location: Australia
Contact:

Re: NXC: chess for NXT

Post by bungeshea »

Google Translate seems to be working fine. http://translate.google.com/translate?s ... 90&act=url

EDIT: Google Chrome (and Chromium)'s built-in translate is also working fine.
Last edited by bungeshea on 01 Nov 2011, 20:10, edited 1 time in total.
spillerrec
Posts: 358
Joined: 01 Oct 2010, 06:37
Location: Denmark
Contact:

Re: NXC: chess for NXT

Post by spillerrec »

With your link, I still get this page:
mindstormsforum translate.jpg
I can access the page without Google Translate just fine, both from home and school, so it is not my IP which have been blocked. There might be different Google servers though.
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXC: autonomous chess program + chess robot for NXT

Post by HaWe »

are there any question I can answer?
Last edited by HaWe on 11 Jan 2012, 21:36, edited 1 time in total.
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: NXC: chess for NXT

Post by mightor »

I think they banned Google on those forums. Not very handy, really.

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
haydenstudios
Posts: 252
Joined: 22 Oct 2010, 20:05
Location: The United States of America
Contact:

Re: NXC: chess for NXT

Post by haydenstudios »

mightor wrote:I think they banned Google on those forums. Not very handy, really.

- Xander
But how could they have banned google if it works fine for both me, and bungeshea?
-Hayden
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXC: autonomous chess program + chess robot for NXT

Post by HaWe »

for me it's also working fine (well - whatever Google thinks what's fine):
Google Translate wrote:Beitrag NXC Chess: Chess program for the NXT
Hello,
I'm working on a chess program written in NXC for the NXT.
A real smart program, it is now ntl yet, but he can at least make the correct moves and already knows most of the rules of chess.
You can manually drag (using the arrow keys to select character, then BtnCenter, then select the target field, again BtnCenter: it checks whether train is allowed, if so, again with BtnExit BtnCenter or demolition) -
or
you can automatically pull him (when "auto" flashes: BtnCenter), then he expected from any trains (at the end of the train appears, then press again BtnCenter)


(Note: The latest version further down the thread!)


_________________
Regards,
Ford - "A Kingdom of Heaven if NXC had recursion" - Prefect

my personal translation would be:
NXC Chess: Chess program for the NXT
article by Ford Prefect » 29. Sep 2011, 10:12

Hello,
I'm just working about a chess program, written in NXC for the NXT.
Of course it's not a real smart program yet, but at least you can perform correct moves and the program knows most of the chess rules.
You can perform moves manually (choose the piece using BtnLeft and BtnRight, then press BtnCenter, then move to target square, again press BtnCenter: the program tests if the move is legal, if it is: once more BtnCenter or BtnExit to cancel) -
or
let the program perform moves automatically (if "auto" is blinking: press BtnCenter), then it's calculating different moves (at the end of calculation the move is shown, then BtnCenter to confirm)

...
_________________
Regards,
Ford - "A Kingdom of Heaven if NXC had recursion" - Prefect


(ps:
notice that the chess program is really, really slow: the best move needs several hours to be calculated by a 3-ply-layer deep search. I'm just about to speed this up by parallelizing a couple of NXTs in a BT network. But it's not meant to become a "seriously taken chess program ever", it was just a challenge for me to see if I will be able to understand the underlying chess programm techniques and if I will be able to handle both the chess rules and pseudo-recursive iterative search deepening dispite of the lack of NXC recursions.)
Last edited by HaWe on 11 Jan 2012, 21:37, edited 1 time in total.
hassenplug
Posts: 346
Joined: 27 Sep 2010, 03:05
Contact:

Re: NXC: chess for NXT

Post by hassenplug »

That's pretty cool. I'd be interested to know a couple things:
1) How does it evaluate the board (to determine if a move is "good")
2) How do you plan to distribute the processing across multiple NXTs.

Steve
---> Link to lots of MINDSTORMS stuff under my picture --->
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 0 guests