├── .commitlintrc.json ├── .eslintrc.js ├── .eslintrc.json ├── .gitignore ├── .husky └── pre-commit ├── .lintstagedrc ├── .prettierignore ├── .prettierrc ├── README.md ├── apps ├── backend │ ├── .env.example │ ├── .eslintrc.js │ ├── .gitignore │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── consts.ts │ │ ├── db │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── passport.ts │ │ └── router │ │ │ ├── auth.ts │ │ │ └── v1.ts │ └── tsconfig.json ├── frontend │ ├── .env.example │ ├── .eslintrc.cjs │ ├── .gitignore │ ├── README.md │ ├── components.json │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ │ ├── bb.png │ │ ├── bk.png │ │ ├── bn.png │ │ ├── bp.png │ │ ├── bq.png │ │ ├── br.png │ │ ├── capture.wav │ │ ├── chess.png │ │ ├── chessboard.jpeg │ │ ├── computer.png │ │ ├── facebook.png │ │ ├── friendship.png │ │ ├── github.svg │ │ ├── google.svg │ │ ├── lightning-bolt.png │ │ ├── move.wav │ │ ├── strategy.png │ │ ├── theme.svg │ │ ├── trophy.png │ │ ├── vite.svg │ │ ├── wb.png │ │ ├── wk.png │ │ ├── wn.png │ │ ├── wp.png │ │ ├── wq.png │ │ └── wr.png │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── components │ │ │ ├── BackgroundSvg.tsx │ │ │ ├── Button.tsx │ │ │ ├── Card.tsx │ │ │ ├── ChessBoard.tsx │ │ │ ├── ExitGameModel.tsx │ │ │ ├── Footer.tsx │ │ │ ├── GameEndModal.tsx │ │ │ ├── GameModeComponent.tsx │ │ │ ├── Loader.tsx │ │ │ ├── MovesTable.tsx │ │ │ ├── Navbar.tsx │ │ │ ├── PlayerTitle.tsx │ │ │ ├── ShareGame.tsx │ │ │ ├── UserAvatar.tsx │ │ │ ├── chess-board │ │ │ │ ├── ChessSquare.tsx │ │ │ │ ├── LegalMoveIndicator.tsx │ │ │ │ ├── LetterNotation.tsx │ │ │ │ └── NumberNotation.tsx │ │ │ ├── constants │ │ │ │ └── side-nav.tsx │ │ │ ├── mobile-sidebar.tsx │ │ │ ├── side-nav.tsx │ │ │ ├── sidebar.tsx │ │ │ ├── subnav-accordian.tsx │ │ │ ├── themes.tsx │ │ │ └── ui │ │ │ │ ├── alert-dialog.tsx │ │ │ │ ├── button.tsx │ │ │ │ ├── card.tsx │ │ │ │ ├── sheet.tsx │ │ │ │ └── waitopponent.tsx │ │ ├── constants │ │ │ └── themes.ts │ │ ├── context │ │ │ └── themeContext.tsx │ │ ├── hooks │ │ │ ├── useSidebar.ts │ │ │ ├── useSocket.ts │ │ │ ├── useThemes.ts │ │ │ └── useWindowSize.ts │ │ ├── index.css │ │ ├── layout │ │ │ └── index.tsx │ │ ├── lib │ │ │ └── utils.ts │ │ ├── main.tsx │ │ ├── screens │ │ │ ├── Game.tsx │ │ │ ├── Landing.tsx │ │ │ ├── Login.tsx │ │ │ └── Settings.tsx │ │ ├── themes.css │ │ ├── utils │ │ │ └── canvas.ts │ │ └── vite-env.d.ts │ ├── tailwind.config.js │ ├── tsconfig.json │ ├── tsconfig.node.json │ └── vite.config.ts ├── native │ ├── .gitignore │ ├── app.json │ ├── app │ │ ├── _layout.tsx │ │ ├── game │ │ │ └── index.tsx │ │ ├── index.tsx │ │ └── login │ │ │ └── index.tsx │ ├── assets │ │ ├── adaptive-icon.png │ │ ├── favicon.png │ │ ├── icon.png │ │ └── splash.png │ ├── babel.config.js │ ├── components │ │ └── chessboard │ │ │ ├── assets │ │ │ ├── bb.png │ │ │ ├── bk.png │ │ │ ├── bn.png │ │ │ ├── bp.png │ │ │ ├── bq.png │ │ │ ├── br.png │ │ │ ├── wb.png │ │ │ ├── wk.png │ │ │ ├── wn.png │ │ │ ├── wp.png │ │ │ ├── wq.png │ │ │ └── wr.png │ │ │ ├── components │ │ │ ├── chessboard-background.tsx │ │ │ ├── highlighted-squares │ │ │ │ ├── highlighted-square.tsx │ │ │ │ └── index.tsx │ │ │ ├── piece │ │ │ │ ├── index.tsx │ │ │ │ └── visual-piece.tsx │ │ │ ├── pieces.tsx │ │ │ └── suggested-dots │ │ │ │ ├── PlaceholderDot.tsx │ │ │ │ └── index.tsx │ │ │ ├── constants.ts │ │ │ ├── context │ │ │ ├── board-context-provider.tsx │ │ │ ├── board-context │ │ │ │ └── index.ts │ │ │ ├── board-operations-context │ │ │ │ ├── hooks.ts │ │ │ │ └── index.tsx │ │ │ ├── board-promotion-context │ │ │ │ ├── dialog │ │ │ │ │ ├── dialog-piece.tsx │ │ │ │ │ └── index.tsx │ │ │ │ ├── hooks.ts │ │ │ │ └── index.tsx │ │ │ ├── board-refs-context │ │ │ │ ├── contexts.ts │ │ │ │ ├── hooks.ts │ │ │ │ └── index.tsx │ │ │ ├── chess-engine-context │ │ │ │ ├── hooks.ts │ │ │ │ └── index.ts │ │ │ └── props-context │ │ │ │ ├── hooks.ts │ │ │ │ └── index.tsx │ │ │ ├── helpers │ │ │ └── get-chessboard-state.ts │ │ │ ├── hooks │ │ │ └── use-const.ts │ │ │ ├── index.tsx │ │ │ ├── notation.ts │ │ │ └── types.ts │ ├── constants │ │ └── colors.ts │ ├── hooks │ │ └── useSocket.ts │ ├── package-lock.json │ ├── package.json │ └── tsconfig.json └── ws │ ├── .gitignore │ ├── package-lock.json │ ├── package.json │ ├── src │ ├── Game.ts │ ├── GameManager.ts │ ├── SocketManager.ts │ ├── auth │ │ └── index.ts │ ├── db │ │ └── index.ts │ ├── index.ts │ └── messages.ts │ └── tsconfig.json ├── package.json ├── packages ├── db │ ├── .env.example │ ├── package.json │ ├── prisma │ │ ├── migrations │ │ │ ├── 20240419000456_init │ │ │ │ └── migration.sql │ │ │ ├── 20240419114530_update_schema │ │ │ │ └── migration.sql │ │ │ ├── 20240419114834_add_name │ │ │ │ └── migration.sql │ │ │ ├── 20240419130914_add_from_to │ │ │ │ └── migration.sql │ │ │ ├── 20240420233109_add_guest_auth_provider │ │ │ │ └── migration.sql │ │ │ ├── 20240422001721_add_time_up │ │ │ │ └── migration.sql │ │ │ ├── 20240422115020_add_san_to_move │ │ │ │ └── migration.sql │ │ │ ├── 20240422122937_rename_columns_in_moves_table │ │ │ │ └── migration.sql │ │ │ ├── 20240508152337_remove_facebook_login │ │ │ │ └── migration.sql │ │ │ ├── 20240618172755_add_player_exit │ │ │ │ └── migration.sql │ │ │ └── migration_lock.toml │ │ └── schema.prisma │ └── src │ │ └── index.ts ├── eslint-config │ ├── README.md │ ├── library.js │ ├── next.js │ ├── package.json │ └── react-internal.js ├── store │ ├── package.json │ └── src │ │ ├── atoms │ │ ├── chessBoard.ts │ │ └── user.ts │ │ └── hooks │ │ └── useUser.ts ├── tailwind-Config │ ├── package.json │ ├── postcss.config.js │ └── tailwind.config.js ├── typescript-config │ ├── base.json │ ├── nextjs.json │ ├── package.json │ └── react-library.json └── ui │ ├── .eslintrc.js │ ├── package.json │ ├── src │ ├── button.tsx │ ├── card.tsx │ └── code.tsx │ ├── tsconfig.json │ ├── tsconfig.lint.json │ └── turbo │ └── generators │ ├── config.ts │ └── templates │ └── component.hbs ├── tsconfig.json ├── turbo.json └── yarn.lock /.commitlintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/.commitlintrc.json -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.lintstagedrc: -------------------------------------------------------------------------------- 1 | { 2 | "**/*.{ts,tsx,json}": ["prettier --write"] 3 | } -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | build 4 | 5 | dist 6 | 7 | .turbo 8 | 9 | 10 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/README.md -------------------------------------------------------------------------------- /apps/backend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/backend/.env.example -------------------------------------------------------------------------------- /apps/backend/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/backend/.eslintrc.js -------------------------------------------------------------------------------- /apps/backend/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | -------------------------------------------------------------------------------- /apps/backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/backend/package-lock.json -------------------------------------------------------------------------------- /apps/backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/backend/package.json -------------------------------------------------------------------------------- /apps/backend/src/consts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/backend/src/consts.ts -------------------------------------------------------------------------------- /apps/backend/src/db/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/backend/src/db/index.ts -------------------------------------------------------------------------------- /apps/backend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/backend/src/index.ts -------------------------------------------------------------------------------- /apps/backend/src/passport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/backend/src/passport.ts -------------------------------------------------------------------------------- /apps/backend/src/router/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/backend/src/router/auth.ts -------------------------------------------------------------------------------- /apps/backend/src/router/v1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/backend/src/router/v1.ts -------------------------------------------------------------------------------- /apps/backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/backend/tsconfig.json -------------------------------------------------------------------------------- /apps/frontend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/.env.example -------------------------------------------------------------------------------- /apps/frontend/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/.eslintrc.cjs -------------------------------------------------------------------------------- /apps/frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/.gitignore -------------------------------------------------------------------------------- /apps/frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/README.md -------------------------------------------------------------------------------- /apps/frontend/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/components.json -------------------------------------------------------------------------------- /apps/frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/index.html -------------------------------------------------------------------------------- /apps/frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/package-lock.json -------------------------------------------------------------------------------- /apps/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/package.json -------------------------------------------------------------------------------- /apps/frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/postcss.config.js -------------------------------------------------------------------------------- /apps/frontend/public/bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/bb.png -------------------------------------------------------------------------------- /apps/frontend/public/bk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/bk.png -------------------------------------------------------------------------------- /apps/frontend/public/bn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/bn.png -------------------------------------------------------------------------------- /apps/frontend/public/bp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/bp.png -------------------------------------------------------------------------------- /apps/frontend/public/bq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/bq.png -------------------------------------------------------------------------------- /apps/frontend/public/br.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/br.png -------------------------------------------------------------------------------- /apps/frontend/public/capture.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/capture.wav -------------------------------------------------------------------------------- /apps/frontend/public/chess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/chess.png -------------------------------------------------------------------------------- /apps/frontend/public/chessboard.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/chessboard.jpeg -------------------------------------------------------------------------------- /apps/frontend/public/computer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/computer.png -------------------------------------------------------------------------------- /apps/frontend/public/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/facebook.png -------------------------------------------------------------------------------- /apps/frontend/public/friendship.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/friendship.png -------------------------------------------------------------------------------- /apps/frontend/public/github.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/github.svg -------------------------------------------------------------------------------- /apps/frontend/public/google.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/google.svg -------------------------------------------------------------------------------- /apps/frontend/public/lightning-bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/lightning-bolt.png -------------------------------------------------------------------------------- /apps/frontend/public/move.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/move.wav -------------------------------------------------------------------------------- /apps/frontend/public/strategy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/strategy.png -------------------------------------------------------------------------------- /apps/frontend/public/theme.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/theme.svg -------------------------------------------------------------------------------- /apps/frontend/public/trophy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/trophy.png -------------------------------------------------------------------------------- /apps/frontend/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/vite.svg -------------------------------------------------------------------------------- /apps/frontend/public/wb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/wb.png -------------------------------------------------------------------------------- /apps/frontend/public/wk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/wk.png -------------------------------------------------------------------------------- /apps/frontend/public/wn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/wn.png -------------------------------------------------------------------------------- /apps/frontend/public/wp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/wp.png -------------------------------------------------------------------------------- /apps/frontend/public/wq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/wq.png -------------------------------------------------------------------------------- /apps/frontend/public/wr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/public/wr.png -------------------------------------------------------------------------------- /apps/frontend/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/App.css -------------------------------------------------------------------------------- /apps/frontend/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/App.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/BackgroundSvg.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/BackgroundSvg.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/Button.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/Card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/Card.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/ChessBoard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/ChessBoard.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/ExitGameModel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/ExitGameModel.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/Footer.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/GameEndModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/GameEndModal.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/GameModeComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/GameModeComponent.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/Loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/Loader.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/MovesTable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/MovesTable.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/Navbar.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/PlayerTitle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/PlayerTitle.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/ShareGame.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/ShareGame.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/UserAvatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/UserAvatar.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/chess-board/ChessSquare.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/chess-board/ChessSquare.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/chess-board/LegalMoveIndicator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/chess-board/LegalMoveIndicator.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/chess-board/LetterNotation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/chess-board/LetterNotation.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/chess-board/NumberNotation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/chess-board/NumberNotation.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/constants/side-nav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/constants/side-nav.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/mobile-sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/mobile-sidebar.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/side-nav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/side-nav.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/sidebar.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/subnav-accordian.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/subnav-accordian.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/themes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/themes.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/ui/button.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/ui/card.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /apps/frontend/src/components/ui/waitopponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/components/ui/waitopponent.tsx -------------------------------------------------------------------------------- /apps/frontend/src/constants/themes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/constants/themes.ts -------------------------------------------------------------------------------- /apps/frontend/src/context/themeContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/context/themeContext.tsx -------------------------------------------------------------------------------- /apps/frontend/src/hooks/useSidebar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/hooks/useSidebar.ts -------------------------------------------------------------------------------- /apps/frontend/src/hooks/useSocket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/hooks/useSocket.ts -------------------------------------------------------------------------------- /apps/frontend/src/hooks/useThemes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/hooks/useThemes.ts -------------------------------------------------------------------------------- /apps/frontend/src/hooks/useWindowSize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/hooks/useWindowSize.ts -------------------------------------------------------------------------------- /apps/frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/index.css -------------------------------------------------------------------------------- /apps/frontend/src/layout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/layout/index.tsx -------------------------------------------------------------------------------- /apps/frontend/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/lib/utils.ts -------------------------------------------------------------------------------- /apps/frontend/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/main.tsx -------------------------------------------------------------------------------- /apps/frontend/src/screens/Game.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/screens/Game.tsx -------------------------------------------------------------------------------- /apps/frontend/src/screens/Landing.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/screens/Landing.tsx -------------------------------------------------------------------------------- /apps/frontend/src/screens/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/screens/Login.tsx -------------------------------------------------------------------------------- /apps/frontend/src/screens/Settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/screens/Settings.tsx -------------------------------------------------------------------------------- /apps/frontend/src/themes.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/themes.css -------------------------------------------------------------------------------- /apps/frontend/src/utils/canvas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/src/utils/canvas.ts -------------------------------------------------------------------------------- /apps/frontend/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /apps/frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/tailwind.config.js -------------------------------------------------------------------------------- /apps/frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/tsconfig.json -------------------------------------------------------------------------------- /apps/frontend/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/tsconfig.node.json -------------------------------------------------------------------------------- /apps/frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/frontend/vite.config.ts -------------------------------------------------------------------------------- /apps/native/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/.gitignore -------------------------------------------------------------------------------- /apps/native/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/app.json -------------------------------------------------------------------------------- /apps/native/app/_layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/app/_layout.tsx -------------------------------------------------------------------------------- /apps/native/app/game/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/app/game/index.tsx -------------------------------------------------------------------------------- /apps/native/app/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/app/index.tsx -------------------------------------------------------------------------------- /apps/native/app/login/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/app/login/index.tsx -------------------------------------------------------------------------------- /apps/native/assets/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/assets/adaptive-icon.png -------------------------------------------------------------------------------- /apps/native/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/assets/favicon.png -------------------------------------------------------------------------------- /apps/native/assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/assets/icon.png -------------------------------------------------------------------------------- /apps/native/assets/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/assets/splash.png -------------------------------------------------------------------------------- /apps/native/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/babel.config.js -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/bb.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/bk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/bk.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/bn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/bn.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/bp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/bp.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/bq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/bq.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/br.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/br.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/wb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/wb.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/wk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/wk.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/wn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/wn.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/wp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/wp.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/wq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/wq.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/assets/wr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/assets/wr.png -------------------------------------------------------------------------------- /apps/native/components/chessboard/components/chessboard-background.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/components/chessboard-background.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/components/highlighted-squares/highlighted-square.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/components/highlighted-squares/highlighted-square.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/components/highlighted-squares/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/components/highlighted-squares/index.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/components/piece/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/components/piece/index.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/components/piece/visual-piece.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/components/piece/visual-piece.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/components/pieces.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/components/pieces.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/components/suggested-dots/PlaceholderDot.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/components/suggested-dots/PlaceholderDot.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/components/suggested-dots/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/components/suggested-dots/index.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/constants.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/board-context-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/board-context-provider.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/board-context/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/board-context/index.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/board-operations-context/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/board-operations-context/hooks.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/board-operations-context/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/board-operations-context/index.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/board-promotion-context/dialog/dialog-piece.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/board-promotion-context/dialog/dialog-piece.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/board-promotion-context/dialog/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/board-promotion-context/dialog/index.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/board-promotion-context/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/board-promotion-context/hooks.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/board-promotion-context/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/board-promotion-context/index.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/board-refs-context/contexts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/board-refs-context/contexts.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/board-refs-context/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/board-refs-context/hooks.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/board-refs-context/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/board-refs-context/index.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/chess-engine-context/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/chess-engine-context/hooks.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/chess-engine-context/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/chess-engine-context/index.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/props-context/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/props-context/hooks.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/context/props-context/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/context/props-context/index.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/helpers/get-chessboard-state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/helpers/get-chessboard-state.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/hooks/use-const.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/hooks/use-const.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/index.tsx -------------------------------------------------------------------------------- /apps/native/components/chessboard/notation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/notation.ts -------------------------------------------------------------------------------- /apps/native/components/chessboard/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/components/chessboard/types.ts -------------------------------------------------------------------------------- /apps/native/constants/colors.ts: -------------------------------------------------------------------------------- 1 | export const PRIMARY_BROWN = '#252422'; 2 | -------------------------------------------------------------------------------- /apps/native/hooks/useSocket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/hooks/useSocket.ts -------------------------------------------------------------------------------- /apps/native/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/package-lock.json -------------------------------------------------------------------------------- /apps/native/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/package.json -------------------------------------------------------------------------------- /apps/native/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/native/tsconfig.json -------------------------------------------------------------------------------- /apps/ws/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .env 4 | -------------------------------------------------------------------------------- /apps/ws/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/ws/package-lock.json -------------------------------------------------------------------------------- /apps/ws/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/ws/package.json -------------------------------------------------------------------------------- /apps/ws/src/Game.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/ws/src/Game.ts -------------------------------------------------------------------------------- /apps/ws/src/GameManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/ws/src/GameManager.ts -------------------------------------------------------------------------------- /apps/ws/src/SocketManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/ws/src/SocketManager.ts -------------------------------------------------------------------------------- /apps/ws/src/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/ws/src/auth/index.ts -------------------------------------------------------------------------------- /apps/ws/src/db/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/ws/src/db/index.ts -------------------------------------------------------------------------------- /apps/ws/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/ws/src/index.ts -------------------------------------------------------------------------------- /apps/ws/src/messages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/ws/src/messages.ts -------------------------------------------------------------------------------- /apps/ws/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/apps/ws/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/package.json -------------------------------------------------------------------------------- /packages/db/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/.env.example -------------------------------------------------------------------------------- /packages/db/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/package.json -------------------------------------------------------------------------------- /packages/db/prisma/migrations/20240419000456_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/prisma/migrations/20240419000456_init/migration.sql -------------------------------------------------------------------------------- /packages/db/prisma/migrations/20240419114530_update_schema/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/prisma/migrations/20240419114530_update_schema/migration.sql -------------------------------------------------------------------------------- /packages/db/prisma/migrations/20240419114834_add_name/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/prisma/migrations/20240419114834_add_name/migration.sql -------------------------------------------------------------------------------- /packages/db/prisma/migrations/20240419130914_add_from_to/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/prisma/migrations/20240419130914_add_from_to/migration.sql -------------------------------------------------------------------------------- /packages/db/prisma/migrations/20240420233109_add_guest_auth_provider/migration.sql: -------------------------------------------------------------------------------- 1 | -- AlterEnum 2 | ALTER TYPE "AuthProvider" ADD VALUE 'GUEST'; 3 | -------------------------------------------------------------------------------- /packages/db/prisma/migrations/20240422001721_add_time_up/migration.sql: -------------------------------------------------------------------------------- 1 | -- AlterEnum 2 | ALTER TYPE "GameStatus" ADD VALUE 'TIME_UP'; 3 | -------------------------------------------------------------------------------- /packages/db/prisma/migrations/20240422115020_add_san_to_move/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/prisma/migrations/20240422115020_add_san_to_move/migration.sql -------------------------------------------------------------------------------- /packages/db/prisma/migrations/20240422122937_rename_columns_in_moves_table/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/prisma/migrations/20240422122937_rename_columns_in_moves_table/migration.sql -------------------------------------------------------------------------------- /packages/db/prisma/migrations/20240508152337_remove_facebook_login/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/prisma/migrations/20240508152337_remove_facebook_login/migration.sql -------------------------------------------------------------------------------- /packages/db/prisma/migrations/20240618172755_add_player_exit/migration.sql: -------------------------------------------------------------------------------- 1 | -- AlterEnum 2 | ALTER TYPE "GameStatus" ADD VALUE 'PLAYER_EXIT'; 3 | -------------------------------------------------------------------------------- /packages/db/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /packages/db/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/prisma/schema.prisma -------------------------------------------------------------------------------- /packages/db/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/db/src/index.ts -------------------------------------------------------------------------------- /packages/eslint-config/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/eslint-config/README.md -------------------------------------------------------------------------------- /packages/eslint-config/library.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/eslint-config/library.js -------------------------------------------------------------------------------- /packages/eslint-config/next.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/eslint-config/next.js -------------------------------------------------------------------------------- /packages/eslint-config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/eslint-config/package.json -------------------------------------------------------------------------------- /packages/eslint-config/react-internal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/eslint-config/react-internal.js -------------------------------------------------------------------------------- /packages/store/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/store/package.json -------------------------------------------------------------------------------- /packages/store/src/atoms/chessBoard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/store/src/atoms/chessBoard.ts -------------------------------------------------------------------------------- /packages/store/src/atoms/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/store/src/atoms/user.ts -------------------------------------------------------------------------------- /packages/store/src/hooks/useUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/store/src/hooks/useUser.ts -------------------------------------------------------------------------------- /packages/tailwind-Config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/tailwind-Config/package.json -------------------------------------------------------------------------------- /packages/tailwind-Config/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/tailwind-Config/postcss.config.js -------------------------------------------------------------------------------- /packages/tailwind-Config/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/tailwind-Config/tailwind.config.js -------------------------------------------------------------------------------- /packages/typescript-config/base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/typescript-config/base.json -------------------------------------------------------------------------------- /packages/typescript-config/nextjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/typescript-config/nextjs.json -------------------------------------------------------------------------------- /packages/typescript-config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/typescript-config/package.json -------------------------------------------------------------------------------- /packages/typescript-config/react-library.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/typescript-config/react-library.json -------------------------------------------------------------------------------- /packages/ui/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/ui/.eslintrc.js -------------------------------------------------------------------------------- /packages/ui/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/ui/package.json -------------------------------------------------------------------------------- /packages/ui/src/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/ui/src/button.tsx -------------------------------------------------------------------------------- /packages/ui/src/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/ui/src/card.tsx -------------------------------------------------------------------------------- /packages/ui/src/code.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/ui/src/code.tsx -------------------------------------------------------------------------------- /packages/ui/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/ui/tsconfig.json -------------------------------------------------------------------------------- /packages/ui/tsconfig.lint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/ui/tsconfig.lint.json -------------------------------------------------------------------------------- /packages/ui/turbo/generators/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/ui/turbo/generators/config.ts -------------------------------------------------------------------------------- /packages/ui/turbo/generators/templates/component.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/packages/ui/turbo/generators/templates/component.hbs -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@repo/typescript-config/base.json" 3 | 4 | } 5 | -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/turbo.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code100x/chess/HEAD/yarn.lock --------------------------------------------------------------------------------