update imports
This commit is contained in:
parent
3f9c5afb6b
commit
fb70f9ab1b
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
import { Game } from "./utils";
|
import { Game } from "./game";
|
||||||
export type GameListener = (board: Game) => void;
|
export type GameListener = (board: Game) => void;
|
||||||
|
|
||||||
export enum Piece {
|
export enum Piece {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { PIECE_TO_CHAR } from "$lib/chess/types";
|
import { PIECE_TO_CHAR } from "$lib/chess/types";
|
||||||
import { boardToAscii, Game, startFEN } from "$lib/chess/utils";
|
import { boardToAscii, Game, startFEN } from "$lib/chess/game";
|
||||||
|
|
||||||
let showIndex = $state(false);
|
let showIndex = $state(false);
|
||||||
let fen = $state(startFEN);
|
let fen = $state(startFEN);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue