Skip to content

Merge lifegame doc#6

Merged
kg0816 merged 5 commits intomainfrom
merge_lifegame_doc
Oct 22, 2025
Merged

Merge lifegame doc#6
kg0816 merged 5 commits intomainfrom
merge_lifegame_doc

Conversation

@kg0816
Copy link
Contributor

@kg0816 kg0816 commented Oct 20, 2025

・life-game ディレクトリをpage.svelteに紐づけ
・life-gameに関連する関数をpreviewするdoc内に組み込むシステムの形成
・組み込みに際して、exportしたfunctionを(importやexportを除いて)docに入れられるようにする関数の作成・分離

Copy link
Contributor

@aster-void aster-void left a comment

Choose a reason for hiding this comment

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

難しく考えすぎてるかも?

  • アプリケーションのソースコードとして読み込むもの
  • テキストを保管すればいいもの

のうちどれに当てはまるか再整理してみるとよさそう

@kg0816 kg0816 force-pushed the merge_lifegame_doc branch from 42e4cc2 to fae5cf2 Compare October 22, 2025 03:37
Copy link
Contributor

@aster-void aster-void left a comment

Choose a reason for hiding this comment

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

ほとんどよさそう

ユーザーは多分 HTML の入力に興味ないと思うので、

let code = $state(lgjs);
let doc = $derived(lghtml.replace(...));

のようにして、 JS だけさわれるようにするとよいとおもう

@kg0816 kg0816 merged commit 6f1eb7f into main Oct 22, 2025
3 checks passed
@kg0816 kg0816 deleted the merge_lifegame_doc branch October 22, 2025 03:46
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.

2 participants

Comments