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 - Using the HTML5 Geolocation API in PhoneGap Build

It has been nearly a year since my first two posts detailing my struggles with setting up PhoneGap, my frustrations with the sorry state of documentation for the project, and my final resorts towards using PhoneGap Build. You can read all about it here. In that time, plenty of things have changed, but it seems that the documentation for PhoneGap Build is still largely lacking.
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...

Create PhoneGap Apps Without Installing PhoneGap – Part 2

Part II - The Tutorial You Were Actually Looking For

In my last post, I detailed my hurdle-filled saga of attempting to install PhoneGap in order to begin developing cross-platform mobile apps. The tl;dr version is that it was a pain and wasted several hours of my time with nothing to show for it.
Read more...

Create PhoneGap Apps Without Installing PhoneGap – Part 1

Part I - Wherein I Complain A Lot

PhoneGap has made a big splash in the mobile app development world the last couple of years, allowing developers to write an application using just HTML, CSS, and Javascript, and to then be able to convert that web app into native apps for all of the major mobile platforms. The ability to write a cross-platform app in a single pass, utilizing well known, existing languages, is an immense help to developers all over. Even more so for hobby developers, or those who are just looking to get their feet wet in the app development world.
Read more...