31 lines
629 B
TypeScript
31 lines
629 B
TypeScript
import React from "react";
|
|
import Board from "./board";
|
|
|
|
const Game = () => {
|
|
return (
|
|
<Board
|
|
cellWidth={4}
|
|
cells={[
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
{ terrainType: 1 },
|
|
]}
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default Game;
|