https://github.com/saitotsutomu/nicegui-cocircular
CoCircular
https://github.com/saitotsutomu/nicegui-cocircular
nicegui
Last synced: 3 months ago
JSON representation
CoCircular
- Host: GitHub
- URL: https://github.com/saitotsutomu/nicegui-cocircular
- Owner: SaitoTsutomu
- Created: 2025-06-28T15:05:06.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-29T00:46:03.000Z (about 1 year ago)
- Last Synced: 2025-09-24T19:37:15.430Z (9 months ago)
- Topics: nicegui
- Language: Python
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CoCircular(共円ゲーム)
NiceGUIベースの共円を判定するゲームです。
格子をクリックして点を配置します。4つの点が同じ円周上(共円)になったらゲームオーバーです。
1直線上に4点並んだ場合も(半径∞の)共円とみなします。

## 遊び方
- 格子をクリックして、点を置きます。共円ができたら終了です
- 1人プレイ:何個置けるか挑戦してみましょう
- 2人以上:共円ができたら1人負けです。ただし、共円を2つ以上作ったら1人勝ちです
### 点の色
- 黒:すでに置いた点です
- 赤:現在置いた点です
- その他の色:共円を構成する点です
## 実行方法
```
% pip install nicegui-cocircular
% cocircular
```
または
```
% uv run --with nicegui-cocircular cocircular
```
自動的にWebブラウザでアプリケーションが開き、ゲームをプレイできます。