-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
darai
authored and
darai
committed
May 1, 2024
0 parents
commit baaabb4
Showing
43 changed files
with
3,069 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[**/*.{js,jsx,html}] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: 🐛 Bug report (バグ報告) | ||
description: Create a report to help me improve | ||
labels: [bug] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for reporting an issue. | ||
バグ報告・ご意見、ありがとうございます! | ||
This issue tracker is for bugs and issues found within this product. | ||
Please fill in as much of the following form as you're able. | ||
以下の項目を埋めていただき、ご報告いただければ幸いです。 | ||
- type: dropdown | ||
id: os | ||
attributes: | ||
label: OS | ||
options: | ||
- Windows 10 | ||
- Windows 11 | ||
- OSX | ||
- iOS | ||
- Android | ||
- Other | ||
default: 0 | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Browser (UserAgent) | ||
description: | | ||
ex, `Chrome 122.0.6261.129` | ||
- type: input | ||
attributes: | ||
label: Bug Time (バグの発生日) | ||
description: | | ||
ex, `2024-04-01 JST` | ||
- type: textarea | ||
attributes: | ||
label: What bugs? (バグ内容) | ||
description: text in detail, screenshots and so on. (画像も利用できます) | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: What steps will reproduce the bug? (バグの再現手順) | ||
- type: textarea | ||
attributes: | ||
label: Error message on screen. (画面に表示されたエラーメッセージ) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: 🚀 Feature request (ご意見・機能要望) | ||
description: Suggest an idea for this project | ||
labels: [feature request] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for suggesting an idea to make this product better. | ||
ご意見ご要望、ありがとうございます! | ||
Please fill in as much of the following form as you're able. | ||
以下の項目を埋めていただき、ご報告いただければ幸いです。 | ||
- type: textarea | ||
attributes: | ||
label: What is the problem this feature will solve? (解決したい課題は?) | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: What is the feature you are proposing to solve the problem? (解決方法は?) | ||
validations: | ||
required: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: X Contact with this product owner | ||
url: https://twitter.com/darai_0512 | ||
about: Please speak English or Japanese. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- | ||
Thanks for your contributing! | ||
Before submitting a pull request, please read the following guide. | ||
- Commit message & PR body language is English or Japanese | ||
For code changes: | ||
1. Include tests for any bug fixes or new features. | ||
2. Does `npm build` pass with this change? | ||
--> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: test | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
testing: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: ['20'] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: yarn --frozen-lockfile | ||
- run: yarn lint | ||
- run: yarn test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
.yarn/install-state.gz | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# local env files | ||
.env* | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
|
||
package-lock.json | ||
yarn.lock | ||
.idea |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Air Poker (inspired by 嘘喰い) | ||
|
||
[![Build Status](https://github.com/darai0512/air-poker/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/darai0512/air-poker/actions) | ||
|
||
## Rule | ||
|
||
- 原作になるべく沿いつつ、ゲーム性を第一に改変 | ||
- プレイヤーは上側と下側を一人で同時にこなす | ||
- ベットフェーズにおいては、上側のルールを優先する | ||
- ペアを作るまで相手の数字を見れない | ||
- 下を優先してベット時にカードオープンしてしまうと、(ネタバレ済のため)相手の役がわかり、ベットが単調になる | ||
|
||
### 原作との差異 | ||
|
||
- カード消費がないケース(v42p183) | ||
- 役作りで使用済みカードを使うミスした時 | ||
- 制限時間オーバー | ||
- 天災 | ||
|
||
## Reference | ||
|
||
- https://phmpk.hatenablog.com/entry/2016/06/11/073000 | ||
- card animation | ||
- https://codepen.io/agdales/pres/qbrRvp | ||
- Trump design: ["白魔空間"](http://shiroma.client.jp/download/material/trump_23x32/) | ||
|
||
# for Developper | ||
## Local dev | ||
|
||
``` | ||
$docker compose exec mongo /bin/sh | ||
sh-4.4# mongosh mongodb://root:root@localhost:27778/?directConnection=true | ||
> use test | ||
> show collections | ||
> db.matching.find({}) | ||
> db.matching.drop() | ||
``` |
Oops, something went wrong.