[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
AI Challenge Forums • View topic - Clojure

It is currently Fri Jan 19, 2018 7:41 am Advanced search

Clojure

Random stuff about the contest, posts that don't fit in the other forums.

Clojure

Postby budu » Sun Feb 07, 2010 8:44 pm

Hi, I've taken on myself to translate the Java starter package to Clojure yesterday. I've made it available on if anyone is interested. Maybe it would be a good idea to make it an official package. There might be a problem as to how to run Clojure code. My system being unconventional (Cygwin under WinXP) I was forced to create a batch file to make it run, it should be pretty easy to make it run on normal POSIX systems though.

I've written a small blog post about it: http://whollyweirdwyrd.blogspot.com/201 ... ojure.html

Let me know if there's any problems, I'm ready to fix them.
budu
Cadet
 
Posts: 6
Joined: Sat Feb 06, 2010 10:02 pm

Re: Clojure

Postby mspang » Mon Feb 08, 2010 5:00 am

mspang
Colonel
 
Posts: 74
Joined: Fri Feb 05, 2010 1:53 am

Re: Clojure

Postby budu » Mon Feb 08, 2010 8:29 pm

Yup, I've really messed up that part! It's fixed now, I've also slightly improved the code. I'm pretty sure there will be some Clojurians taking on this challenge.

BTW, it's a great challenge, I really like it. Tried myself at icfp last year, but that contest is completely crazy, didn't even submitted anything, just had time to write the simulator/VM and interface. This one is much more relaxed, I'll certainly have time to write some bots!

Thanks
budu
Cadet
 
Posts: 6
Joined: Sat Feb 06, 2010 10:02 pm

Re: Clojure

Postby mspang » Tue Feb 09, 2010 6:43 am

I've posted it but it seems time time out pretty quickly. It's possible that it will help if you change it to precompile to class files.
mspang
Colonel
 
Posts: 74
Joined: Fri Feb 05, 2010 1:53 am

Re: Clojure

Postby budu » Tue Feb 09, 2010 8:21 pm

budu
Cadet
 
Posts: 6
Joined: Sat Feb 06, 2010 10:02 pm

Re: Clojure

Postby budu » Sat Feb 13, 2010 12:28 am

budu
Cadet
 
Posts: 6
Joined: Sat Feb 06, 2010 10:02 pm

Re: Clojure

Postby budu » Sat Feb 13, 2010 3:41 am

One other thing, could you add an argument to the command line calling the Clojure script, e.g.: --. Like in my instructions for compiling Clojure entries. That would help greatly to help manipulate the code without going through the shell pipe.
budu
Cadet
 
Posts: 6
Joined: Sat Feb 06, 2010 10:02 pm

Re: Clojure

Postby bosie » Thu Feb 18, 2010 2:45 pm

i just tried your lib and all i get is this:

$ java -jar engine/Tron.jar maps/empty-room.txt "./clj.bat MyTronBot.clj" "./clj.bat MyTronBot.clj"
15 15
###############
#1 #
# #
# #
# #
# #
# #
# #
# #
# #
# #
# #
# #
# 2#
###############
FATAL ERROR: failed to write to stream: java.io.IOException: Broken pipe
java.lang.Exception: One of the programs crashed!
FATAL ERROR: failed to write to stream: java.io.IOException: Broken pipe
java.lang.Exception: One of the programs crashed!
Both players crashed. Draw!


i am on clojure 1.1.0
bosie
Cadet
 
Posts: 1
Joined: Thu Feb 18, 2010 2:38 pm


Return to Misc

Who is online

Users browsing this forum: No registered users and 1 guest