Tutorial - Create and Shuffle a Deck of Cards in Javascript

Since it has been a long time since I actually sat down to write a blog post here, I though it best to get back in to it with something relatively on the basic side. We will be discussing constructing and shuffling a deck of cards in Javascript.

Read more...

Tutorial - Random Maze Generation Algorithm in Javascript

I recently began working on a mobile game, more info of which will be coming as it gets closer to a release date. One of the central points of the game requires generating random mazes in a variety of sizes. This is a fairly well known concept in computer science, and there are a number of different algorithms which can be used to provide the maze. However, in my research, I came across few good tutorials on what exactly these algorithms did. As any developer knows, understanding what an algorithm does step by step is important to utilizing it in your own programs. Merely copying and pasting a function from some other site will invariably lead to convoluted code surrounding that function in order to get the parameters you need from it, and can lead to many problems down the road when a problem arises with that function. And believe me, a problem will always arise.
Read more...

A Brief History of Dynamic Web Content

After spending days coding a site and sending a draft over to the client, the response back is almost immediate. They want the data tables to be sortable by the column headings. This needs to be done dynamically, of course. And the Twitter widget needs to live update any time they send out a new tweet. Thankfully, the ability to do this has become relatively easy and commonplace. To the point that, these days, I start any project with the assumption that some of the content needs to be dynamic and plan for it from the outset.
Read more...