Instructions are in-game. The dots are to help you determine weather or not the line is on the grid.
This is for a math project where we made our own games, and I made mine in scratch.