Browse Source

v instead of V in replace

master
Your Average Code 11 months ago
parent
commit
edea18ee8c
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/RumbleBot.java
  2. 1
    1
      src/SnakeBot.java

+ 1
- 1
src/RumbleBot.java View File

.replace('^', '*') .replace('^', '*')
.replace('<', '*') .replace('<', '*')
.replace('>', '*') .replace('>', '*')
.replace('V', '*');
.replace('v', '*');
char[][] grid = dataToGrid(data, size); char[][] grid = dataToGrid(data, size);


if (data.contains("*")) { if (data.contains("*")) {

+ 1
- 1
src/SnakeBot.java View File

.replace('^', '*') .replace('^', '*')
.replace('<', '*') .replace('<', '*')
.replace('>', '*') .replace('>', '*')
.replace('V', '*');
.replace('v', '*');
char[][] grid = dataToGrid(data, view.width); char[][] grid = dataToGrid(data, view.width);


if (data.contains("@")) { if (data.contains("@")) {

Loading…
Cancel
Save