├── .eslintrc.cjs ├── .gitignore ├── README.md ├── index.html ├── package.json ├── public └── favicon.ico ├── src ├── App.tsx ├── GlobalStyles.tsx ├── assets │ ├── icon.ts │ └── variables.ts ├── components │ ├── MultiPlayer │ │ ├── MultiPlayer.tsx │ │ ├── MultiPlayerBanner.tsx │ │ ├── MultiPlayerBoard.tsx │ │ ├── MultiPlayerResult.tsx │ │ └── index.ts │ ├── SinglePlayer │ │ ├── SinglePlayer.tsx │ │ ├── SinglePlayerBanner.tsx │ │ ├── SinglePlayerBoard.tsx │ │ ├── SinglePlayerMode.tsx │ │ ├── SinglePlayerResult.tsx │ │ ├── index.ts │ │ └── select │ │ │ ├── select.tsx │ │ │ └── style.tsx │ ├── Spinner │ │ ├── Spinner.tsx │ │ └── Style.tsx │ ├── Start │ │ ├── Start.tsx │ │ └── Styles.tsx │ ├── core │ │ ├── banner │ │ │ ├── banner.tsx │ │ │ └── style.tsx │ │ ├── board │ │ │ ├── board.tsx │ │ │ └── style.tsx │ │ ├── index.ts │ │ └── result │ │ │ ├── result.tsx │ │ │ └── style.tsx │ └── index.ts ├── main.tsx ├── util │ ├── caculateWinner.tsx │ ├── getRandomEmoji.ts │ ├── index.ts │ ├── types.ts │ ├── useGameStore.ts │ ├── useMultiplayerStore.ts │ └── useSinglePlayerStore.ts └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/README.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/GlobalStyles.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/GlobalStyles.tsx -------------------------------------------------------------------------------- /src/assets/icon.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/assets/icon.ts -------------------------------------------------------------------------------- /src/assets/variables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/assets/variables.ts -------------------------------------------------------------------------------- /src/components/MultiPlayer/MultiPlayer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/MultiPlayer/MultiPlayer.tsx -------------------------------------------------------------------------------- /src/components/MultiPlayer/MultiPlayerBanner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/MultiPlayer/MultiPlayerBanner.tsx -------------------------------------------------------------------------------- /src/components/MultiPlayer/MultiPlayerBoard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/MultiPlayer/MultiPlayerBoard.tsx -------------------------------------------------------------------------------- /src/components/MultiPlayer/MultiPlayerResult.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/MultiPlayer/MultiPlayerResult.tsx -------------------------------------------------------------------------------- /src/components/MultiPlayer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/MultiPlayer/index.ts -------------------------------------------------------------------------------- /src/components/SinglePlayer/SinglePlayer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/SinglePlayer/SinglePlayer.tsx -------------------------------------------------------------------------------- /src/components/SinglePlayer/SinglePlayerBanner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/SinglePlayer/SinglePlayerBanner.tsx -------------------------------------------------------------------------------- /src/components/SinglePlayer/SinglePlayerBoard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/SinglePlayer/SinglePlayerBoard.tsx -------------------------------------------------------------------------------- /src/components/SinglePlayer/SinglePlayerMode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/SinglePlayer/SinglePlayerMode.tsx -------------------------------------------------------------------------------- /src/components/SinglePlayer/SinglePlayerResult.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/SinglePlayer/SinglePlayerResult.tsx -------------------------------------------------------------------------------- /src/components/SinglePlayer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/SinglePlayer/index.ts -------------------------------------------------------------------------------- /src/components/SinglePlayer/select/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/SinglePlayer/select/select.tsx -------------------------------------------------------------------------------- /src/components/SinglePlayer/select/style.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/SinglePlayer/select/style.tsx -------------------------------------------------------------------------------- /src/components/Spinner/Spinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/Spinner/Spinner.tsx -------------------------------------------------------------------------------- /src/components/Spinner/Style.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/Spinner/Style.tsx -------------------------------------------------------------------------------- /src/components/Start/Start.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/Start/Start.tsx -------------------------------------------------------------------------------- /src/components/Start/Styles.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/Start/Styles.tsx -------------------------------------------------------------------------------- /src/components/core/banner/banner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/core/banner/banner.tsx -------------------------------------------------------------------------------- /src/components/core/banner/style.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/core/banner/style.tsx -------------------------------------------------------------------------------- /src/components/core/board/board.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/core/board/board.tsx -------------------------------------------------------------------------------- /src/components/core/board/style.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/core/board/style.tsx -------------------------------------------------------------------------------- /src/components/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/core/index.ts -------------------------------------------------------------------------------- /src/components/core/result/result.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/core/result/result.tsx -------------------------------------------------------------------------------- /src/components/core/result/style.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/core/result/style.tsx -------------------------------------------------------------------------------- /src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/components/index.ts -------------------------------------------------------------------------------- /src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/main.tsx -------------------------------------------------------------------------------- /src/util/caculateWinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/util/caculateWinner.tsx -------------------------------------------------------------------------------- /src/util/getRandomEmoji.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/util/getRandomEmoji.ts -------------------------------------------------------------------------------- /src/util/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/util/index.ts -------------------------------------------------------------------------------- /src/util/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/util/types.ts -------------------------------------------------------------------------------- /src/util/useGameStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/util/useGameStore.ts -------------------------------------------------------------------------------- /src/util/useMultiplayerStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/util/useMultiplayerStore.ts -------------------------------------------------------------------------------- /src/util/useSinglePlayerStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/src/util/useSinglePlayerStore.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mirayatech/tic-tac-emoji/HEAD/vite.config.ts --------------------------------------------------------------------------------