Use WASD to move, Q and E to switch your selected tile, and click to place a tile.
A sample project for the ESSM Coding Course. Credit to: @dragon-master for showing me how to do this in the first place. (Yes, he taught me the platform engine too) @griffpatch for the Scratch Cat run cycle.