BrenDevLog
Follow along as Brennan attempts to bootstrap a 1-man software company. (Some call it a Micro-ISV.)
What is this blog about?

What I'm workin' on

wifight is a client/server turn-based multi-player multi-game online game service for Treo/Centro smartphones and other network-enabled PalmOS devices. Fun! Try it out if you have a Treo or Centro.

Debris Visual Art: A long-running art project. It generates surrealistic paintinglike displays from random imagery accumulated from the Internet. The image continually shifts, but just barely too slowly to see. Someday you'll have a dedicated LCD picture frame in your house running this. I have been working on this off and on since about 2001.

bmem: A simple (very simple) HUD for your PC, showing memory/CPU/disk use. In win32 the disk cache memory and free memory are kind of the same thing but they are reported separately, which is a huge pain. So I was inspired to write bmem. I also tried to make it as tiny and efficient as possible.

RSXE: This is my RSS/Atom/whatever newsreader. It's kind of approaching alpha 1.0. I use it every day and code up a feature or two when I find something I miss. The goal here is simplicity, efficiency, and speed.

Hlscript: When a programmer starts a blog, he can either use a pre-existing software package, or write one himself. Guess which option I picked. Hint: this blog runs on it! The design goals here are once again simplicity and speed. And easy hackability/customization. And not requiring a SQL engine. And not requiring too recent a version of PHP. Or browser.

Listo: A PHP-based personal streaming mp3 server. I wrote this to use with my Treo 650. It has a Web page interface to queue up songs while you stream them via PocketTunes or similar. It uses LAME to transcode songs to a usable bitrate. I use 32-40kbit mono variable bit rate over GPRS/EDGE. Once EVDO is common it will be even more nice to use.

 




 

05-oct-2008

sunday
 
a little dungeon action
Here's a screenshot from a work-in-progress game for wifight. I'm calling it "Dungeon" or "wifight Dungeon" for now.

This is just a mockup, not an actual playable game (yet.) A sketch I made in Inkscape, converted from SVG to wifight description, and displayed in the client.

Normally I tend to not show off what I'm working on until it's almost done. I can't help it: I'm a bit of a perfectionist. I just want it to be as awesome as possible when you do see it.

But I thought, why not try developing this one in public, and let the world tell me what it thinks as we go. Maybe it will be fun.

So, Dungeon.

Screenshot of work in progress game

Thats's a stats bar on the right. It seems to be a standard feature for all RPGs so I'm sticking with it. Then maybe your inventory appears in the box below the stats.

On the left you have the dungeon view. You would see the room you're in, and a little bit of the rooms around you (that you have been to.) Your avatar/little dude would appear in the center of the room and the various objects/monsters/etc in that room would also appear surrounding the player. That's what the green blob and squiggly line (I mean, a scary snake!) represent.

Each level will be a 2d grid of rooms. The levels will be procedurally generated, so it will be a different layout each time. That's gonna be fun to code! And fun to play I hope.

A while back I wrote a little MUD-like rooms-n-objects layer (a real simple one, just for fun. Lua is incredibly well suited for it.) so now I'm building on top of that. That's what's generating those green buttons. I'm not 100% sure how I'm going to go from a MUDlike freeform node system to a 2d grid layout yet, but I can't wait to find out.

The gray boxes represent some kind of UI (to be determined) to perform various actions, like, say, search, casting spells, etc.

So that's the sketch so far. What do you think?

 linkme
 

Comments (1)

 




 

28 sep 2008

sunday
 
another new wifight game now online: reversi
I just made Reversi live on wifight! So that's, what, 5 playable main games, and 5 variations. That's 10 in total! Awesome.

Screenshot of wifight reversi game, turn 3

Reversi is a game played on an 8x8 board. Four pieces are placed onto the center 4 squares before play begins. Players take turns placing pieces of their color (white or black, black goes first) onto empty spaces on the board. The position must have at least one or more contiguous lines of the opponent's pieces between it and another one of the player's pieces. After placing the piece, the trapped opponent's pieces color changes to the player's color. Hard to explain, but easy to learn, especially because only legal moves are selectable in wifight Reversi.

You can read (and write!) about Reversi on the wifight wiki, and also spectate Reversi games on wifight.

You do not need to update your client to play Reversi on wifight. It will just magically show up in your game select screen the next time you log in.

 linkme
 

Comment on this article...

 




 

15 sep 2008

monday
 
new wifight game: Chess(NoAI)
Announcing a new playable game on wifight! Chess(NoAI), or just "Noai" for short, is now live and playable. To recap:

Chess(NoAI) is a modification to Chess. It can only be played by human players, not AI players. Play proceeds normally, except that before every turn, the AI (chessbot level) chooses a move. This move becomes unplayable, and is greyed out on the board. If there is only one move available then it will not be greyed out.

You can read more about Noai on the wifight wiki, and also spectate Noai games on wifight.

There is no client upgrade required to play Chess(NoAI). Look for it in your Select Game screen.

 linkme
 

Comments (2)

 




 

10-sep-2008

wednesday
 
home again from CTIA
CTIA was interesting. It seemed to be all about software these days instead of hardware gadgets, especially mobile software. So I'm glad I went. I got a good peek at the industry I'm (partly) in. I didn't really try to talk business, though, since I am still only in the planning stages when it comes to wifight's business side. No t-shirts, but on the other hand we scored both yo-yos and miniature cell phone beach chairs. So can't complain.

wifight: new games on the horizon
First, we have Chess(NoAI). Chess(NoAI) is a modification to Chess. It can only be played by human players, not AI players. Play proceeds normally, except that before every turn, the AI (chessbot level) chooses a move. This move becomes unplayable, and is greyed out on the board. If there is only one move available then it will not be greyed out.

What I like about this variation is that it adds a bit of unpredictability. You can't be sure exactly what move chessbot will pick, but you can often guess. And it just might be the move you really wanted to make! So you have to get a bit creative and improvise a bit more. And you can try to take advantage, too. For example, you can often place a piece where you normally never would, since it would just be taken immediately...

Chess(NoAI) is almost ready to release. I'll probably make it go live this week. You won't need to upgrade your client. It will just magically show up in your Select Game screen.

Nextly, I started working on Reversi. Here's a work-in-progress screenshot:

Screenshot of wifight reversi work-in-progress
It's coming along pretty well so far. I'd guess I'm halfway to playable at this point. I was able to reuse some of the code for Checkers and Chess which made it a lot easier to get started this time.
 linkme
 

Comment on this article...

 




 

sep 09 2008

tuesday
 
wifight.prc version 0.31: thirtyonederful
Not too much changed in this version except adding in a feature whereby tapping on a player's name in the Player Roster screen lets you start a new game with that player. Pretty useful.

Get wifight.prc 0.31 and you too can go nuts with new games. It's the best.

CTIA
Team wifight (aka me and my buddies Josh and Dan) will be roaming the floors of CTIA on Wednesday the 10th (tomorrow!) We hope to see lots of neat gadgets and maybe show off wifight to anyone who seems even vaguely interested. I'm also hoping to score some free t-shirts, but I've never been to CTIA so I dunno if it will be like that. I do like free t-shirts, heh.

 linkme
 

Comment on this article...

 




 

03 sep 2008

wednesday
 
wifight, reviewed
Check out wifighter Supertrucker's new review of wifight! It has screenshots and everything. I'm particularly pleased to see that he's connecting on a Tungsten TX over Bluetooth. I used to rock that same arrangement on my Tungsten T. Makes me feel like all the work I put into PalmOS compatibility might have been worth it.
 linkme
 

Comment on this article...

 




 

27 aug 2008

wednesday
 
oops, time for bmem 2.8.8
I just found a bug in bmem 2.8.7 (the tiny free memory monitor/disk activity utility for win32) where it would report the CPU usage a bit too high. So, here's bmem 2.8.8.
 linkme
 

Comments (2)

 




 

26 aug 2008

tuesday
 
bmem 2.8.7
I just posted version 2.8.7 of bmem, a free tiny memory monitor/disk activity light for win32 computers. Now with more accurate CPU usage/HD lighting. It also fixes a bug that occurs when you have virtual memory entirely disabled.

Get it at the bmem page. It's free and open-source, and the exe is only 22k!

 linkme
 

Comments (2)

 




 

14 aug 2008

thursday
 
new build of debris visual art: 47!
Announcing the first new build of Debris Visual Art in over a year! This version has a lot of little tweaks and bugfixes and more options to fiddle with. I especially like the option to use images more than once (so you don't run out of images so quickly) and the options to randomly flip source images horizontally or vertically. Unfortunately I didn't keep very good track of what changed exactly, so I can't post a whatsnew.txt like usual. But on the other hand, have fun exploring!

Who Me. I did it.
What Debris Visual Art, build #47
When Right now!
Why Because it's fun.
How Just download it and run the installer. You will be tripping mighty balls in no time.

 linkme
 

Comments (5)

 




 

aug 13 2008

wednesday
 
wifight: introducing megachessbot
Introducing wifight's third (and most powerful yet) chess-playing bot: megachessbot! He's got even more think power than supachessbot or chessbot AND he has access to an opening book. AND his name is MEGAchessbot. Personally I still haven't defeated even good ol' regular chessbot but someday...

also: wifight client 0.29 out, 0.30 coming along
Yep, wifight's client 0.29 was released a little while back, with lots of new features:

  • player list! with little Online indicator even
  • game browser remembers which game you most recently tapped on and returns you there
  • game browser remembers which game you most recently selected on refresh and keeps it visible
  • added 'Browse Games Archive' to gamescreen menu
  • fixed bug where newgame form could pop up over itself after game creation error
  • made draw offers cause game to show New and sort to top like a regular new turn
  • update progress screen shows titles of games being updated
  • tweaked games archive button locations (tightened up spacing)
  • added Chat button to the create login successful "where to?" popup
  • added Browse Games Archive/Player Roster menu items to Chatscreen
  • added About wifight option to chat screen menu
  • made New Game screen remember last used opponent name
  • changed colors for New and Your Turn indicators
  • Quit options now named Resign once grace period (currently 3 turns) ends
  • gamescreen disables sleep mode during turn playback
  • fixed small memory leak in game browser
  • updated help files
  • renamed "Help: topic" menu items to "User Guide: topic"
  • added Chess, Checkers, and Boxes user guide pages (look in game screen menu)
  • fixed bug re deleting a game then going to it with the Recent button
  • other misc bug fixes
Enjoy!
 linkme
 

Comment on this article...

 




 

jul 15 2008

tuesday
 
new wifight chess feature: draw by low material
New feature for wifight chess: draw by low material. I kind of made up the name but hopefully it's descriptive enough. Basically, when you get into an endgame situation in Chess where you're down to just lone Kings or Kings and a Bishop or Knight, turnbot will call the game in a draw. I'm not an expert or anything but I believe that in these situations checkmate is no longer possible.

Here's a shup of the table I just made in the handy-dandy Wifight User Guide:

In other news, someone finally beat supachessbot! Good job, ljj8503.

 linkme
 

Comments (3)

 




 

jul 10 2008

thursday
 
wifight! where you least expect it
wifight spelled out in a game of Dots and Boxes
 linkme
 

Comments (1)
previous articles
 

RSS
for posts

RSS
for comments