Merged
Conversation
aster-void
reviewed
Nov 9, 2025
src/routes/+page.svelte
Outdated
| }} | ||
| > | ||
| Reset | ||
| Board Reset |
aster-void
reviewed
Nov 9, 2025
src/iframe/life-game.js
Outdated
| board = Array.from({ length: boardSize }, () => Array.from({ length: boardSize }, () => false)); | ||
| renderBoard(); | ||
| generationChange(0); | ||
| on.pause(); |
Contributor
There was a problem hiding this comment.
イベントの中で他のイベントを呼び出すとイベントの依存の管理が大変になるので、イベント呼び出し側で管理してやるのがよさそう
Merged
Deploying life-code with
|
| Latest commit: |
630de5f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e0541491.life-code.pages.dev |
| Branch Preview URL: | https://uidesign-v4.life-code.pages.dev |
aster-void
reviewed
Nov 10, 2025
src/iframe/life-game.js
Outdated
|
|
||
| const resetTimer = () => { | ||
| timer = "stop"; | ||
| clearInterval(timerId); |
Contributor
There was a problem hiding this comment.
この関数、 timer が stop の時に呼び出されたら二重に clearInterval しそう。
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
・サイズ変更ボタンの削除
・placetemplate機能をsvelte側に移設
・現在の速度の表示
・その他UIの軽微な修正