start game stuff - both online and offline #13
|
@ -1,4 +1,5 @@
|
|||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class Board {
|
||||
|
@ -10,6 +11,8 @@ public class Board {
|
|||
|
||||
public Board(int size) {
|
||||
this.size = size;
|
||||
this.ships = new ArrayList<>();
|
||||
this.hits = new ArrayList<>();
|
||||
this.createShip(size - 13);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue