You could use a two-dimensional array for the 2048 board instead of 4 arrays for each row. DIM (or VAR) NUM[4,4] PRINT NUM[1,0] -> 0