Storing Map Tile Information Using Binary in JavaScript

For the MMO (“massively” being used very loosely here) I’m working on, the server and client communicate using TCP by sending plain English words to each other. I know this is inefficient but it makes the code more readable when you see a command of “MOVE” instead of “101”. I’ll switch over to binary eventually and use this article on representing map tile information in binary as a reference.