Tag Archives: JavaScript

A Toy Bug Tracker in JavaScript

The JavaScript code below implements a rudimentary bug tracker, or, perhaps more accurately, a task tracker. To see it in action, copy it into an .html file and open that file in a web browser that runs JavaScript. It’s not … Continue reading

Posted in Uncategorized | Tagged , , | 1 Comment

Exploring the ZIP File Format in JavaScript

The JavaScript program below, when run, prompts the user to upload a file in .ZIP format. Then the file is parsed and its internal structure is displayed as text in the JSON format. Note that this code does not actually … Continue reading

Posted in Uncategorized | Tagged , , , , | 3 Comments

Another RPG Combat Engine in JavaScript

The code below implements a rudimentary turn-based combat engine for a Japanese-style role-playing game in JavaScript. I have partially implemented a similar engine in a previous post, but I recently tried to update it and found it very difficult. I … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

A Text-Based SVG Editor in JavaScript

The JavaScript program below, when run, will present an interface that allows a user to edit a vector image in SVG format as text, and view the changes to the rendered image as they are made. To see it in … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

A Function Argument Type Validator in JavaScript

The JavaScript code below implements simple type checking on function arguments. To see it in action, copy it into an .html file and open that file in a web browser that runs JavaScript, with the debugging console open so the … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

A CSV Compressor in JavaScript

Below is a simple program that can remove repeated values from a CSV, thus making the file smaller. To see it in action, copy it into an .html file and open that file in a web browser that runs JavaScript. … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

An x86-16 Disassembler in JavaScript

Below is a partially implemented disassembler for Intel’s x86-16 instruction set, intended to assist in the investigation of COM executables from the era of Microsoft DOS. It needs a lot more work. It can’t truly disassemble anything yet, or rather … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

A MOD File Viewer in JavaScript

The JavaScript code below, when run, allows the user to specify a file in the .MOD music tracker format, parses it, and displays the contents as JSON (in a rather inconvenient way). To see it in action, copy it into … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

An Orbital Maneuver Simulator in JavaScript

Below is a prototype of a simple orbital maneuver simulator in JavaScript. To see the code in action, copy it into an .html file and open that file in a web browser that runs JavaScript. Or, for an online version, … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

A Music Notation Renderer In JavaScript

The JavaScript below prompts the user for a musical composition in JavaScript format, and then renders that composition in musical notation. To see it in action, copy the code into an .html file and open that file in a web … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment