I had to decompile Sun Tzu since I seem to have lost my sourcefiles, but it seems I simply use
this.radio[x] = y
in my build method.
Search found 18 matches
- Thu Nov 11, 2010 7:10 am
- Forum: BitBath
- Topic: Radio from Cities
- Replies: 3
- Views: 21626
- Wed Nov 10, 2010 8:43 pm
- Forum: BitBath
- Topic: String concatenations allowed?
- Replies: 1
- Views: 16745
Hm, looks like your compiler is transforming the + concatenations in your source to the use of StringBuilders in the actual code. Try compiling against java 1.4, that does not have the StringBuilder class. I just found out I lost all my bitbath java sourcecode so I can't tell you what I used for deb...
- Wed Nov 10, 2010 8:25 pm
- Forum: BitBath
- Topic: Radio from Cities
- Replies: 3
- Views: 21626
- Wed Nov 10, 2010 8:19 pm
- Forum: BitBath
- Topic: New site http://bitbath.org launches beta
- Replies: 5
- Views: 25242
- Tue Sep 01, 2009 6:06 pm
- Forum: BitBath
- Topic: SDK package crashes in eclipse
- Replies: 1
- Views: 17218
- Mon Aug 17, 2009 7:36 pm
- Forum: BitBath
- Topic: New site http://bitbath.org launches beta
- Replies: 5
- Views: 25242
New site http://bitbath.org launches beta
Heya all, I've been working on a new site for bitbath for a while now. It incorporates a lot of the ideas and suggestions from this forum that Adum just doesn't have the time to implement. Like every map is played twice, with sides reversed. You can request a rematch of a certain fight if you have a...
- Sat Aug 01, 2009 9:12 pm
- Forum: BitBath
- Topic: Some questions, confirm or oprovergnite my guesses
- Replies: 1
- Views: 17549
Yes that's true. If you use class variables then each unit can keep track of things. For instance a city can remember how many of each unit it has built: public class Elephant{ private int[] built = new int[4]; public Object think(... ... public int build(...) { if (buildItem != 0) return 0; int uni...
- Sat Aug 01, 2009 8:57 pm
- Forum: BitBath
- Topic: Feature request: alternate red/blue positions in series
- Replies: 4
- Views: 24573
- Sat Aug 01, 2009 1:30 pm
- Forum: BitBath
- Topic: Suggestions
- Replies: 6
- Views: 27273
Re: Suggestions
First thing is that about 60-70% of the generatetd maps are unfair (I know that everyone will equally often be on the unlucky and lucky side, but thats not the point). Some are just a little unfair, some are completely ... meaning even "Boris" or "Walk Softly" wouldn't win again...
- Sat Aug 01, 2009 8:12 am
- Forum: The Hacker's Server
- Topic: The intellectual level is sinking, as titanic!
- Replies: 8
- Views: 8687
- Sun Jul 19, 2009 3:10 am
- Forum: BitBath
- Topic: Matching system ?
- Replies: 6
- Views: 28118
- Fri Jul 17, 2009 8:45 am
- Forum: BitBath
- Topic: Matching system ?
- Replies: 6
- Views: 28118
Hey Adum, Could you press the button again please? :D The bot I uploaded two days ago only got to fight for 5 minutes.. :? Opponent Date Time Winner Length asx 2009-07-15 17:24:00 Sun Tzu 576 asx 2009-07-15 17:24:14 Sun Tzu 311 Colossus 2009-07-15 17:25:32 Sun Tzu 275 Xtee 2009-07-15 17:28:47 Sun Tz...
- Thu Jul 16, 2009 6:39 am
- Forum: BitBath
- Topic: Great Game :)
- Replies: 7
- Views: 30162
Awesome
More praise for BitBath!
This is so simple to learn, but very hard to master.
I'd never programmed in java before, so it took a bit of learning, but it was well worth it.
This is so simple to learn, but very hard to master.
I'd never programmed in java before, so it took a bit of learning, but it was well worth it.
- Wed Jul 15, 2009 8:08 am
- Forum: BitBath
- Topic: Bots move in simulator but not in game
- Replies: 2
- Views: 18903
- Fri Jul 10, 2009 4:43 pm
- Forum: BitBath
- Topic: Bots move in simulator but not in game
- Replies: 2
- Views: 18903
Bots move in simulator but not in game
I just uploaded my first bot "Nemesis" . It's still absolute rubbish but I wanted to see it play against some of the other bots. Locally it works fine in both Native and "production" mode. But to my surprise when I look at the games it plays on the site, nothing is happening! One...