Commit 27d4649e authored by satan's avatar satan
Browse files

refactor: move required ships to config

parent 9558a0eb
......@@ -47,13 +47,7 @@ import { Cell, getCell, setCell, Grid } from "./gameLogic";
import VGrid from "./components/Grid.vue";
import * as config from "./config";
const required = {
1: 0,
2: 3,
3: 1,
4: 1,
5: 1
};
const required = config.SHIPS;
export default {
components: { VGrid },
......
export const BASE_URL = "http://localhost:5000";
export const SHIPS = {
1: 0,
2: 3,
3: 1,
4: 1,
5: 1
};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment