Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support transferring and cloning of agents between models

オープン
#69 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
scala
領域
tooling

調査の方向性

ファイル、テスト、エントリポイントは指定されていません。まず既存の model、turtle、breed、link の転送コードと関連するテストを見つけ、次に move/clone のセマンティクスと未解決の link の動作を明確にしてください。対応する転送コマンドと互換性ルールが実装され、一致する変数、shape、位置、初期化ブロックについてのテストが用意されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Turtles:

  • ls:move <source-model> <reporter-of-turtle/turtleset> <target-mode> <optional-initialization-block>
  • Can transfer/clone (kill in one, create in another) between models with the same turtle/breed variable names. That is, can copy if:
    • Does a breed with the same name as the turtle's breed exist in the target model?
    • Take all the names of the turtle's turtle and breed vars. Do variables with the same names exist in the target model?
    • Does the turtle's shape exist in the target model? (we could just default shape if not)
    • If yes to these questions, can transfer.
  • Variables are matched up by name, except for position
  • Position is tough since the worlds will have different dimensions, and even if they have the same dimensions, it's unlikely that the user will want the turtle's position to be preserved. Right now, I think the turtle should just appear at 0,0, and there should be an optional command block that it runs upon creation that receives xcor as ?1 and ycor as ?2.

Patches:

  • Clone only

Links:

  • Not sure
主要言語
Scala
スター
20
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NetLogo/LevelSpace のほかの issue

NetLogo/LevelSpace の issue をすべて見る

似ている issue

Scala の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。