Click a tile to select it. If the clicked tile is next to the selected tile, they will swap after I finish the engine. Match precedence is horizontal matches over vertical matches and 4-matches over 3-matches.
@awesome-llama for the "swap" code @2468mariotime2 for everything else