Blog

Is TedjCraft up?

I put together a status page for our family Minecraft server. It is a simple way to answer the first question before trying to join: is the server actually running? This is mostly integration work rather than a new Minecraft protocol implementation. The PHP page asks the MineTools ping and query endpoints for JSON, then […]

Read post: Is TedjCraft up?

A map game for Daniel

Daniel really likes maps, so I made him a little game for learning countries. It highlights a country in blue, gives him some names to choose from, and keeps track of how many answers he gets right. The map is SVG, which makes the browser do a lot of the useful work. Each country is […]

Read post: A map game for Daniel

A little bookmarklet maker

I keep making little bookmarklets and then forgetting the annoying part of turning JavaScript into a usable Favorites link. So I made a page to do that part for me. Paste in the script and it builds a link with the javascript: prefix, along with the address text to copy. The code squeezes out some […]

Read post: A little bookmarklet maker

A progress bar for Daniel

Daniel really likes progress bars for some reason. So I made him one where we can choose how many seconds it should take and watch it go. That is pretty much the whole application. 🙂 The bar is actually an HTML range input. JavaScript remembers the start time, checks how much time has passed, and […]

Read post: A progress bar for Daniel

Filling in the missing operators

I made a little equation solver for questions like 1_2_3_4_5=6. The numbers are already there; the puzzle is deciding which operations go in the spaces. The code recursively builds combinations of plus, minus, multiply, and divide, puts each combination between the numbers, and evaluates the result. For the default example, it finds answers such as […]

Read post: Filling in the missing operators

Dodge on a Windows 8 tablet

Another version of Dodge! This time I wanted to try moving the square by tilting a Windows 8 tablet. The basic idea is still the same: stay away from the bad blocks and try not to get too big. This version uses an HTML canvas with Box2DWeb doing the collision and body simulation. The game […]

Read post: Dodge on a Windows 8 tablet