-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨Feature: QuantumTTT vs AI mode #215
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
u-sho
added a commit
that referenced
this pull request
May 3, 2024
* add aria-label to buttons have no text contents (#205) * build(deps-dev): bump vite from 5.1.6 to 5.1.7 (#208) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.1.6 to 5.1.7. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v5.1.7/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.1.7/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [Snyk] Upgrade typescript from 5.3.3 to 5.4.2 (#207) * fix: upgrade typescript from 5.3.3 to 5.4.2 Snyk has created this PR to upgrade typescript from 5.3.3 to 5.4.2. See this package in npm: https://www.npmjs.com/package/typescript See this project in Snyk: https://app.snyk.io/org/u-sho/project/56523540-5a4b-485d-ae86-4b4f9b0ef853?utm_source=github&utm_medium=referral&page=upgrade-pr * fetch packge-lock.json --------- Co-authored-by: snyk-bot <[email protected]> * Migrate to ESLint Flat Config & [Snyk] Security upgrade eslint from 8.56.0 to 8.57.0 (#210) * fix: package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116 * update typescript-eslint to v7 - `@typescript-eslint/recommended` is included in `@typescript-eslint/strict` - `svelte/all` helps us - almost of all browsers can parse es2023 * audit fix * remove VSCode tabSize setting to take the advantage of tab indentation * don't use ESLint `--cache` option Typed lint rules almost always have dependencies on types across files in practice. https://typescript-eslint.io/troubleshooting/#can-i-use-eslints---cache-with-typescript-eslint * update linter, typechecker, and formatter * migrate: to ESLint Flat Config - https://eslint.org/docs/v8.x/use/configure/migration-guide - https://typescript-eslint.io/blog/announcing-typescript-eslint-v7/#new-features---flat-config-support - https://sveltejs.github.io/eslint-plugin-svelte/user-guide/#new-config-eslint-config-js - https://zenn.dev/babel/articles/eslint-flat-config-for-babel#flat-config-への移行-tips * add ESLint option reporting unused disable directives --------- Co-authored-by: snyk-bot <[email protected]> * update build tools (#211) * update build tools * update GitHub Action - changed version of node runtime to node20 * ignore vite temp file for 'npm run ci' command * fix: add ignores to all eslint configs * no need to update npm to the latest * fix: ESLint Flat Config ignores property (#212) The `ignores` property basically applies to all. However, when user specifies the `files`, it's not * Refactor: remove dirty hacks from ESLint Flat Config (#213) * remove duplicated/unused ignores * remove dirty hack now, does not depend on internal implementation of typescript-eslint * use a path that makes it easy to see that it's within the same directory * update minor dependencies include typescript-eslint * update eslint.config.js https://zenn.dev/u_sho/articles/eslint-flat-config-with-svelte-and-typescript * Fix: ESLint does not use `lib` from `node_modules/@typescript/` (#214) * fix to load `lib` from node_modules feature since TypeScript 4.5 * drop support node<20.12 * update dependencies pin vitest version, cuz typecheck is experimental * share tsconfig.json options with eslint * ✨Feature: QuantumTTT vs AI mode (#215) * (wip) feature: add AI対戦 AIのターン中にクリックされるとバグる * fix bug: block player click when AI thinking * fix bug: block player click when AI resolving collapse * fix: ESLint error * shorten test time of sleep * add "vs AI page" to sitemap * v0.8.0 QuantumTTT 'vs AI' mode --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: snyk-bot <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
u-sho
commented
May 3, 2024
) as MaxLengthArray<MarkType, 3> | undefined) | ||
: undefined; | ||
|
||
const handleSquareClick = (i: SquareType): void => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改善の余地大いにあり
@@ -0,0 +1,16 @@ | |||
const sleep = async (ms: number): Promise<void> => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utils/ 系は該当の npm パッケージを使った方がいいかもしれない
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.