お宝チップを10枚、裏にして積み重ね、そのうちの4枚を二人のプレイヤーのあいだに並べる。ダイスをすべて袋に入れる。
お宝チップを奪い合い、さきに10点以上を獲得したプレイヤーの勝利。
def quick_sort(src): | |
print(f"**: {src}") | |
if len(src) <= 1: | |
return src | |
pivot = src[0] | |
left = list() | |
right = list() | |
for n in src[1:]: | |
if n < pivot: |
// tslint:disable | |
/** | |
* test | |
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |
* | |
* The version of the OpenAPI document: 0.1 | |
* | |
* | |
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | |
* https://openapi-generator.tech |
function is(x: unknown, y: unknown): boolean { | |
if (x === y) { | |
return x !== 0 || y !== 0 || 1 / x === 1 / y; | |
} else { | |
return x !== x && y !== y; | |
} | |
} | |
export function deepEquals<T>(objA: T, objB: T): boolean { | |
if (is(objA, objB)) return true; |
# ==== Emojis ==== | |
# 🐛 :bug: バグ修正 | |
# ♻️ :recycle: リファクタリング | |
# 🎨 :art: コードフォーマット | |
# 📝 :memo: ドキュメンテーション | |
# 💄 :lipstick: UI, スタイルファイルの変更 | |
# 💬 :speech_balloon: テキスト、文字列の変更 | |
# 🔥 :fire: コード、ファイルの削除 |
build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) | |
chore: Other changes that don't modify src or test files | |
ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) | |
docs: Documentation only changes | |
feat: A new feature | |
fix: A bug fix | |
perf: A code change that improves performance | |
refactor: A code change that neither fixes a bug nor adds a feature | |
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) | |
test: Adding missing tests or correcting existing tests |