Log in

No account? Create an account
NBGS update. - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

NBGS update. [Mar. 31st, 2001|01:04 pm]
Brad Fitzpatrick
got the NBGS (Networked Bored Game Server) server running on bradfitz.com now (port 7504 if you want to connect and watch).

all it can do so far is chat (i have 3 clients connected to it from my home machine) but I have all the infrastructure done to make the rest pretty straight-forward.

have I said how much I love Java lately? Swing is very well designed, from what I've seen of it so far. yay for model/view/controller. I'm using a JTextPane swing widget for my ChatWindow so the chatting is all purty and colored/styled. very nice.

once I get a simple game working (tic-tac-toe) then I'll release everything and any java programmers out there can start writing new Game subclasses.

oh, one cool feature which I started to work on: you can join a game as either a player or an observer. the observers can talk and watch everything, but don't get scored or get to take any turns. i figure one things are ready, then scott and I can both write scrabble bots, and we can then join the game and watch our bots play each other. our bots can then use the chat area to say what they're "thinking".

From: billemon
2001-03-31 03:02 pm (UTC)
Alan Turing is turning in his grave ... :·) Actually the idea of getting live feedback from a game-playing automaton is an interesting one. I know a lot of programs can print out debugging info about what they're doing, but this sounds slightly different.

One plea, though ... you'll test your Java classes against Netscape 4.x on Linux?

(Reply) (Thread)
[User Picture]From: bradfitz
2001-03-31 05:07 pm (UTC)
Linux is my development platform... I know it works there. Then I test on Windows.

But I can almost gaurantee you it won't work with Netscape 4.x immediately.... you'll have to go download the Java2 plugin, then it'll work in Netscape 4.x. Or, you can just run it as an application, without using a browser. (how I'm developing it)
(Reply) (Parent) (Thread)
From: billemon
2001-03-31 05:16 pm (UTC)
Any chance of a URL? I had enough trouble finding the JRE/JDK.
(Reply) (Parent) (Thread)
From: billemon
2001-03-31 05:59 pm (UTC)
Cool! I already downloaded the Blackdown jre ... didn't realise that included a plugin. Hadn't unpacked it yet.

I'll try it out another time as it's 3 a.m. here, now :)

(Reply) (Parent) (Thread)
[User Picture]From: twistah
2001-03-31 09:19 pm (UTC)
IE 5.5 actually gave me the option to download the plugin automatically, which I am doing right now (fun over a 33.6.)

You probably know about this, but I am telling you in case you don't.
(Reply) (Thread)