Skip to content
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

v0.8.0 QuantumTTT "vs AI" mode #216

Merged
merged 164 commits into from
May 3, 2024
Merged

v0.8.0 QuantumTTT "vs AI" mode #216

merged 164 commits into from
May 3, 2024

Conversation

u-sho
Copy link
Owner

@u-sho u-sho commented May 3, 2024

No description provided.

u-sho and others added 30 commits May 18, 2021 00:59
* render what used for indent; spaces or tab

* change jsonc formatter from VSCode's one to Prettier

* add .eslintignore and change .prettierignore, which are for save lint time

* init CI to lint automatically
* update dependencies

* update ES version to 2020
* add service-worker
* add mock favicon
* add webmanifest
* config svelte/kit
* fill some fields of package.json
* fix editor settings about svelte
* add Dart Sass

* add the default layout component

* temporary fix bug of eslint-plugin-svelte3
    see sveltejs/eslint-plugin-svelte3#10
    and sveltejs/eslint-plugin-svelte3#55
* fix html5 semantices
    "disabled" attribute is effective on a form element only

* fix path to webmanifest

* add adapter for build

* add error page

* add quantumTTT top page

* [W.I.P.] add neste-routed page
    Check sveltejs/kit#1359
- don't use `yarn` or `pnpm`
- please lint before commit
* add vscode extension for scss

* add typescript-eslint rules

* meta ogp

* resolve error
* add jest

* ci: run-p test lint
- Quantum Tic-Tac-Toe Offline Game
- Build for Vercel
- add buttons like "continue game"
- fix component name-casing
* easy to understand file naming & path
* extract QunatumTTT type definition
* unify some states of QuantumTTT
* remove dead code for online app
QuantumTicTacToe is a fork of <https://github.com/rohanp/QuantumTicTacToe>.

And the source is GNU Public Licensed.

So, We decided to apply GPL-3 to QuantumTicTacToe to public Quantum Game Arena.
initial release with quantum tic-toc-toe
u-sho and others added 25 commits February 27, 2024 22:57
* fix: upgrade prettier from 3.2.4 to 3.2.5

Snyk has created this PR to upgrade prettier from 3.2.4 to 3.2.5.

See this package in npm:
https://www.npmjs.com/package/prettier

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 package-lock.json

---------

Co-authored-by: snyk-bot <[email protected]>
* fix: upgrade @typescript-eslint/parser from 6.20.0 to 6.21.0

Snyk has created this PR to upgrade @typescript-eslint/parser from 6.20.0 to 6.21.0.

See this package in npm:
https://www.npmjs.com/package/@typescript-eslint/parser

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

* upgrade `@typescript-eslint`

---------

Co-authored-by: snyk-bot <[email protected]>
* fix: upgrade svelte from 4.2.9 to 4.2.10

Snyk has created this PR to upgrade svelte from 4.2.9 to 4.2.10.

See this package in npm:
https://www.npmjs.com/package/svelte

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

* upgrade svelte to 4.2.12

---------

Co-authored-by: snyk-bot <[email protected]>
* fix: upgrade @vercel/analytics from 1.1.2 to 1.1.3

Snyk has created this PR to upgrade @vercel/analytics from 1.1.2 to 1.1.3.

See this package in npm:
https://www.npmjs.com/package/@vercel/analytics

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

* upgrade `@vercel/analytics` to 1.2.2

---------

Co-authored-by: snyk-bot <[email protected]>
* update sveltekit from 2.5.0 to 2.5.2

* remove unused properties on tsconfig

* fix: format
* fix: upgrade prettier-plugin-svelte from 3.1.2 to 3.2.0

Snyk has created this PR to upgrade prettier-plugin-svelte from 3.1.2 to 3.2.0.

See this package in npm:
https://www.npmjs.com/package/prettier-plugin-svelte

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 package-lock.json

---------

Co-authored-by: snyk-bot <[email protected]>
* fix: upgrade @vitest/coverage-v8 from 1.2.2 to 1.3.0

Snyk has created this PR to upgrade @vitest/coverage-v8 from 1.2.2 to 1.3.0.

See this package in npm:
https://www.npmjs.com/package/@vitest/coverage-v8

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

* upgrade vitest from 1.2.2 to 1.3.1

---------

Co-authored-by: snyk-bot <[email protected]>
* update vite(st) to the latest

* update SvelteKit and its toolchanis to the latest

* fix: file access conflict on coverage directory

* fix: type safety of service-worker
  see https://kit.svelte.dev/docs/service-workers#type-safety
* fix CSP setting for vercel/analytics

* fix: trailing slash of static files

* update sitemap: last modified date
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>
* 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]>
….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

* 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
The `ignores` property basically applies to all. However, when user specifies the `files`, it's not
* 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
* 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
* (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
@u-sho u-sho added enhancement New feature or request site; frontend frontend issue on web site labels May 3, 2024
@u-sho u-sho self-assigned this May 3, 2024
Copy link

vercel bot commented May 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quantum-game-arena ✅ Ready (Inspect) Visit Preview May 3, 2024 8:47pm

@u-sho u-sho merged commit e9a2926 into main May 3, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request site; frontend frontend issue on web site
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants