CoCircular(共円ゲーム)
NiceGUIベースの共円を判定するゲームです。
格子をクリックして点を配置します。4つの点が同じ円周上(共円)になったらゲームオーバーです。 1直線上に4点並んだ場合も(半径∞の)共円とみなします。
遊び方
- 格子をクリックして、点を置きます。共円ができたら終了です
- 1人プレイ:何個置けるか挑戦してみましょう
- 2人以上:共円ができたら1人負けです。ただし、共円を2つ以上作ったら1人勝ちです
点の色
- 黒:すでに置いた点です
- 赤:現在置いた点です
- その他の色:共円を構成する点です
実行方法
% pip install nicegui-cocircular
% cocircular
または
% uv run --with nicegui-cocircular cocircular
自動的にWebブラウザでアプリケーションが開き、ゲームをプレイできます。
Metadata
Release files for nicegui-cocircular 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nicegui_cocircular-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / nicegui_cocircular-0.1.0-py3-none-any.whl
| Download URL | nicegui_cocircular-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2079da7e69b1e3e4b96500ffa3a0680b4869565a750e75e2d47bb6bfbc77f5b3
|
|
BLAKE2b-256 checksum How to use checksums |
dc40db27c546497b83251d8ceea2e03fd922afb69ed53d514da061b9e4e9e273
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|