Text this: Statistical Mechanics of Linear <i>k</i>-mer Lattice Gases: From Theory to Applications