Skip to content

Conversation

@kg0816
Copy link
Contributor

@kg0816 kg0816 commented Nov 21, 2025

・色対応
・盤面の保存、ロード、プレビュー確認済み

if (cell === 0x000000) return "black";
// レガシー版(0/1形式)への互換性
if (cell === 0) return "white";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cell === 0 のとき cell === 0x000000 になると思う

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

理想は Code が色情報を持てるといいけど、時間もないので盤面に isColorful とかを持たせるのがよさそう

@cloudflare-workers-and-pages
Copy link

Deploying life-code with  Cloudflare Pages  Cloudflare Pages

Latest commit: 34482f7
Status:🚫  Build failed.

View logs

@kg0816 kg0816 merged commit 0bf5977 into main Nov 21, 2025
3 of 4 checks passed
@kg0816 kg0816 deleted the colorful branch November 21, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants