102103104105106107108109110111112
logger.debug("user found: " + user); Game game = new Game(); GameConfig gameConfig = gameConfigDao.find(1L); //TODO DEFINE A TABLE DEFAULT CONFIGURATION List<Player> players = new ArrayList<Player>(); Player player = new Player(); player.setUser(user);
4849505152535455565758
shipConfig5.setNumber(2); shipConfig5.setSize(1); shipConfigs.add(shipConfig5); gameConfig = new GameConfig(); gameConfig.setDimensionX(10); gameConfig.setDimensionY(10); gameConfig.setShipConfigs(shipConfigs);
7475767778798081828384
shipConfig5.setSize(1); shipConfigs.add(shipConfig5); gameConfig = new GameConfig(); gameConfig.setId(1L); gameConfig.setDimensionX(10); gameConfig.setDimensionY(10); gameConfig.setShipConfigs(shipConfigs);