NXC: autonomous chess program + chess robot for NXT
Re: NXC: chess for NXT
the video !!
http://www.youtube.com/watch?v=UHxfFxfR ... e=youtu.be
maybe blocked because of the soundtrack -
so - very boring, as a silent movie - look at this:
http://www.youtube.com/watch?v=UHxfFxfR ... e=youtu.be
maybe blocked because of the soundtrack -
so - very boring, as a silent movie - look at this:
Last edited by HaWe on 13 Jan 2012, 12:00, edited 2 times in total.
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: NXC: chess for NXT
Wow, that's cool!
What building platform did you use?
You should do a time-lapse video of it playing a complete game autonomously!
What building platform did you use?
You should do a time-lapse video of it playing a complete game autonomously!
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: NXC: autonomous chess program + chess robot for NXT
Thanks, matt!^^
It's Fischertechnik combined with Lego Mindstorms and Lego Technic!
(filming a whole game is one of my nxt projects - probably!)^^
It's Fischertechnik combined with Lego Mindstorms and Lego Technic!
(filming a whole game is one of my nxt projects - probably!)^^
-
- Posts: 175
- Joined: 28 Dec 2011, 13:07
- Location: Gelderland, Netherlands
- Contact:
Re: NXC: autonomous chess program + chess robot for NXT
How did you resolve the recursive aspect? Just manual tail-call-loop-unrolling-pointer-avoidance?
-- Pepijn
http://studl.es Mindstorms Building Instructions
http://studl.es Mindstorms Building Instructions
Re: NXC: autonomous chess program + chess robot for NXT
try to read the source! ;)
http://www.mindstormsforum.de/viewtopic ... 046#p57269
http://www.mindstormsforum.de/viewtopic ... 046#p57269
-
- Posts: 175
- Joined: 28 Dec 2011, 13:07
- Location: Gelderland, Netherlands
- Contact:
Re: NXC: autonomous chess program + chess robot for NXT
I did, seems like manual tail-call-loop-unrolling-pointer-avoidance to me, but it's quite a big piece of code. It seems you have separate functions for the 3 layers, which contain huge loops and branches.
-- Pepijn
http://studl.es Mindstorms Building Instructions
http://studl.es Mindstorms Building Instructions
Re: NXC: autonomous chess program + chess robot for NXT
yes, I was unsure what you meant by
but because for some inside-functional goto cmds it was easier to write seperated functions - with the additional benefit that I could cut off some parts of the code (e.g. for a quiscience search) or for different scores (e.g. for a check threat) in deeper iteration levels. That's why having to write a FIFO stack for just 1 universal move generator function appeared to me to be much more effort to do.
- if it was meant seriously or if it was supposed to be a joke,tail-call-loop-unrolling-pointer-avoidance
but because for some inside-functional goto cmds it was easier to write seperated functions - with the additional benefit that I could cut off some parts of the code (e.g. for a quiscience search) or for different scores (e.g. for a check threat) in deeper iteration levels. That's why having to write a FIFO stack for just 1 universal move generator function appeared to me to be much more effort to do.
Re: NXC: autonomous chess program + chess robot for NXT
Doc,
Looks pretty fantastic Btw, if you want to avoid sound track issues, you can download and use a lot of music from this site: http://www.jamendo.com/en/ for free, as long as you adhere to the license the music is distributed under. I use this quite a lot. Mine is usually more electronic music, but I am sure there's music of the rock-persuasion, too.
- Xander
Looks pretty fantastic Btw, if you want to avoid sound track issues, you can download and use a lot of music from this site: http://www.jamendo.com/en/ for free, as long as you adhere to the license the music is distributed under. I use this quite a lot. Mine is usually more electronic music, but I am sure there's music of the rock-persuasion, too.
- 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)
| 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)
Re: NXC: autonomous chess program + chess robot for NXT
thx for the music link -
is there a kind of overview list to quickly listen to several tracks?
is there a kind of overview list to quickly listen to several tracks?
Re: NXC: autonomous chess program + chess robot for NXT
No idea, I usually pick one at random, if I like it, I use it, if not, I randomly pick another
- Xander
- 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)
| 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)
Who is online
Users browsing this forum: No registered users and 0 guests