Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick
brad

NBGS update.

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".
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 6 comments