I loved this game growing up so this video about the history of the first Super Mario Bros game is super interesting to watch! The way it was first developed was first drawing out the course on graph paper as pieces of a sliding map, which is very similar to approaches taken for pixel art and creating icons like Susan Kare mentioned. After the design was drafted on the graph paper, the design was given to a programmer who would input it as numerical data.