mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
20 lines
792 B
JavaScript
20 lines
792 B
JavaScript
const defaultState = {
|
|
selectedSquare: null,
|
|
|
|
player: null,
|
|
turn: null,
|
|
|
|
board: {
|
|
8: { a: null, b: null, c: null, d: null, e: null, f: null, g: null, h: null },
|
|
7: { a: null, b: null, c: null, d: null, e: null, f: null, g: null, h: null },
|
|
6: { a: null, b: null, c: null, d: null, e: null, f: null, g: null, h: null },
|
|
5: { a: null, b: null, c: null, d: null, e: null, f: null, g: null, h: null },
|
|
4: { a: null, b: null, c: null, d: null, e: null, f: null, g: null, h: null },
|
|
3: { a: null, b: null, c: null, d: null, e: null, f: null, g: null, h: null },
|
|
2: { a: null, b: null, c: null, d: null, e: null, f: null, g: null, h: null },
|
|
1: { a: null, b: null, c: null, d: null, e: null, f: null, g: null, h: null },
|
|
},
|
|
};
|
|
|
|
export default defaultState;
|