line numbers are used to label the lines of a Commodore BASIC program sequentially. They are also used to distinguish between what should be executed immediately in immediate mode and what lines of game code should be stored in memory.
When initially programming a game, lines of game code are usually numbered in 10's :
10 REM MY GAME 20 PRINT "YOU ARE IN THE WOODS..."
That way, if you find that you need to insert additional lines, the space is there to do so.
10 REM MY GAME 11 REM BY HARTNELL 12 PRINT CHR$(147) 20 PRINT "YOU ARE IN THE WOODS..."
- LIST - list the game code in memory.