Robots: Difference between revisions
Content added Content deleted
(→{{header|Java}}: added Java) |
|||
Line 234: | Line 234: | ||
final int nCols; |
final int nCols; |
||
boolean[] availableDirections; |
|||
Grid[][] grid; |
Grid[][] grid; |
||
int playerRow, playerCol, score, hiScore, level; |
int playerRow, playerCol, score, hiScore, level; |
||
Line 249: | Line 248: | ||
nRows = 38; |
nRows = 38; |
||
nCols = 50; |
nCols = 50; |
||
availableDirections = new boolean[dirs.length]; |
|||
dash = new BasicStroke(2.0f, CAP_BUTT, JOIN_MITER, 10.0f, |
dash = new BasicStroke(2.0f, CAP_BUTT, JOIN_MITER, 10.0f, |