move constants to const.tsx and setup game logic
This commit is contained in:
7
src/const.tsx
Normal file
7
src/const.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
export const SIDEBAR_WIDTH = 8
|
||||
export const SELECTED_COLOR = "0xFF0000"
|
||||
export const BOARD_WIDTH = 10
|
||||
export const BOARD_HEIGHT = 10
|
||||
export const TILE_SIZE = 5
|
||||
|
||||
export default {}
|
||||
Reference in New Issue
Block a user