Finally!

0 views
Skip to first unread message

cretz

unread,
Dec 2, 2009, 1:46:05 AM12/2/09
to BWAPI JBridge
Finally after a couple of weeks, I am able to put out an alpha
release! Tired...sleeping now...

Hestad

unread,
Dec 5, 2009, 2:01:40 PM12/5/09
to BWAPI JBridge
Congratulations :)

I'm glad to finally see a Java Wrapper-version. I've skimmed through
the code in the socket project, but thought that was an suboptimal
solution.
So i tried it out to see if i could get a better JNI-version, but
since it's my examination-period aswell, I basically only made the
onStart part with a lot of String array handling :/

What I'm trying to say, after I have seen this project and the auto
generated SWIG file with 30k lines, I'm relieved I didn't have to do
this myself :p

So, cretz, will this be a one-mans project or will you open for
collaboration?

cretz

unread,
Dec 5, 2009, 3:04:08 PM12/5/09
to BWAPI JBridge
I will gladly accept collaboration. I am working on a mass refactoring
right now tho. Basically, what I am doing is I am going to have all
model objects extend a common class which will expose the internal C
pointer of object (in a protected fashion). The main reason I am doing
it is for equals and hashCode. That way I can do things w/ the
Set<Unit> like contains and what not. I'm also prepending some
uglyness in front of the swig classes so people don't get confused w/
the ambiguity in naming (i.e. model.Unit and swig.Unit). I'll
hopefully commit that to trunk later today. Then I'll add you on if
you're up for it.

Out of curiousity tho, what pieces are you looking to add/improve?

cretz

unread,
Dec 5, 2009, 3:06:44 PM12/5/09
to BWAPI JBridge
Oh, I also hafta get rid of all those damn tabs and put the normal 4
spaces

Hestad

unread,
Dec 6, 2009, 10:48:34 AM12/6/09
to BWAPI JBridge
I am more or less preoccupied untill the 10th, but I will try to
create a bot based on this wrapper. So I'm going to contribute via
issues where i find bugs and errors. I can also contribute on the bot
example part, trying to implement some guidelines and examples for new
users, so trying to create a bot is easier to grasp. I will also look
at strategies and integrating those. But first, I have to digg into
your code :)

- John

cretz

unread,
Dec 7, 2009, 12:06:49 AM12/7/09
to BWAPI JBridge
Cool...hit me up when you want to be a committer. I did a very large
scale refactoring in trunk, so use that instead of one of the src
releases or one of the tags. The code should be pretty
straightforward. I added checkstyle on the eclipse projects too.
Reply all
Reply to author
Forward
0 new messages