Geeks With Blogs
Richard Taylor's Blog So Long, and Thanks for All the Code August 2006 Entries
The Falling Sand Game

The Falling Sand Game

A Zen-Garden-like game where you control flow of sand, water, salt, and oil by drawing walls, plants, fire, etc. Surprisingly addictive!


They all interact differently. Water and salt mix to make saltwater; fire and water mix to make steam, which then condenses and drips down. Plants grow in water but don't like saltwater. Different elements combust at different rates.

Posted On Tuesday, August 29, 2006 6:03 AM

My World of Warcraft Character
I started playing WoW right after launch and leveled my hunter Northorn up to the 40s. About that time I got really busy at work and had to cancel my account. A couple months ago a re-activated the account and have since leveled up to 57. I play on the Elune server and am a member of Sterling Order of Knights(SOK) ......

Posted On Wednesday, August 23, 2006 11:25 AM

Code Formatter Plugin for Windows Live Writer

I just started using Windows Live Writer and immediately started looking for a plugin for inserting code snippets into posts. Here's one I found and have used successfully.

Link to Steve Dunn's Blog: Code Formatter Plugin for Windows Live Writer

Posted On Monday, August 21, 2006 10:23 AM

Mapping a byte array to a structure in C#
Some of the C# code I've been writing recently communicates via TCP/IP with legacy C++ applications. These applications use a raw packet format where C/C++ structures are passed back and forth. Here is a simplified example of what the legacy code could look like: #pragma pack(1) typedef struct { int id; char[50] text; } MESSAGE; // Send a message MESSAGE msg; msg.id = 1; strcpy(msg.text, "This is a test"); send(socket, (char*)&msg); // Receive a message char buffer[100]; recv(socket, ......

Posted On Monday, August 21, 2006 10:15 AM

Copyright © Richard Taylor | Powered by: GeeksWithBlogs.net