[No.16]ワニワニゲームで運だめし!
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/VXBoD6hS8bow5TCAxpVoT.png?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=HXPRHvhXAdITqV25pG8sJcwN1aU%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
さぁ夏休み! 遊びをもりあげる楽しいゲームを作ってみましょう! ワニの口に手を入れると……パクッとかまれるかもしれないちょっとドキドキのゲームです。夏休みのプログラミング工作にもどうぞ!
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/auJsRT9OLNY-oF306XL3W.jpg?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=sVIw6Tu34%2F%2Bbn7GPfSoKOsWBpKs%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
必要なもの&準備
- SPACEBLOCK通常パッケージ[SPACEBLOCK本体、USBケーブル、電池ボックス]
- 赤外線モーションセンサモジュール(赤外線モーションセンサ)
- 8×8 RGB LEDマトリックスパネル(LEDパネル)
- 180°マイクロサーボモーター(サーボモーター)
- ジャンパーワイヤ[ピンヘッダ-ピンソケット3本×延長したい数]
- プログラミングをするパソコン
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/pNJs2lPsZokZHbArG_27S.jpg?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=qykw0RiPyaRXaRYufyx2SfRSegU%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
SPACEBLOCKに拡張パーツを接続する
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/SO3EfLRJGZSwqQmUK-eUt.jpg?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=PnI%2FebadmiVdO%2FOPTifydL0W4Ow%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
接続の細かい部分は次の図で確認してください。
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/CPYM6h10wGIfP38BmNHv0.png?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=%2FEvKSAWxV21Uq%2B8Zhjxn6tciUJE%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/8Xkn-qZqWfbR3Z31Qe7OO.png?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=Vp%2Fgx8jh8yxMcXbe0AKT2QrosRA%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
手を入れるとワニの口が閉じる仕組みを考える!
今回作りたいのは、ワニの口に手を入れると口がパクッと閉じる仕組みです。入力装置として、動きを検知できる赤外線モーションセンサを使用し、出力装置として0°から180°の回転の動きができるサーボモーターを使用します。ワニの口に手が入ったことを赤外線モーションセンサで検知して、サーボモーターの動きでワニの口を開閉します。
ワニの体部分には牛乳パックを使用し、厚紙でワニの口部分を作成。上あごは体に割ピンでとめ、重みで自然に閉まる構造にします。サーボモーターはストローをつけて上あごを押し上げられる程度の長さにします。
![](https://s3.ap-northeast-1.amazonaws.com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Ep9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
緑色の色画用紙を貼り付けて見た目を整え、牛乳パックの体部分に電池ボックスとSPACEBLOCK本体を入れます。
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/2K4ZJZLBF_VNIairyKGoV.jpg?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=KlTTc0af9RrGWipCbjS17ryVL28%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
さらに、歯と目、尾、手足をつけます。上あごに赤外線モーションセンサ、下あごにサーボモーターを固定します。
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/2lbmTA6DpZeelTo879BqM.jpg?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=WwZjgsKqr48EfJLrjEWJPdKmXKs%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
上あごを割ピンでとめたら工作部分は完成です。
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/xsghG0crPlc_HlcUrRauW.jpg?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=BFxL9dLeSm%2BGVq0VGDXbWnVT3ks%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/cKg12yw9uz6wCaIyQqUna.jpg?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=NaALDqJGiW8kYWnRraEykYsFQ54%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
閉じるか閉じないかわからないプログラムを作ろう!
今回作りたいプログラムは、「ワニの口が閉じるときもあるし閉じないときもある」というもの。あらかじめ、口が閉じるか閉じないかどちらになるかわからないというプログラムを作っておく必要があります。
乱数ってなに?
サイコロを転がすときのように、何が出るかわからない値をプログラムで扱うときには「乱数」を使います。どれが出るかわからないことをランダムといいます。
[《0》から《10》までのランダムな整数]ブロックを使うと、指定した数値の範囲からランダムな整数が発生します。サイコロを振ると1から6のどれかの数字が出るのと同じように、ランダムな数値は指定した範囲の数値が同じ確率で出るようになっています。
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/c0t4j4R5EQiaLw7I7_miq.png?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=JhULmmivH5%2BAqu%2FF8UQME0wgX10%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
変数を作る
乱数を入れておくために、変数「random」を作ります。
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/UZcxVtre-2ajgKtHNjJzn.png?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=WNo9jWOLZYk16zBWpGD0lbjT3Yw%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
サーボの最初の位置を決めるプログラム
まず、次の図の通り、プログラム開始と同時にサーボの位置を0°にするプログラムを作成します。
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/1c8ggNlh57TgI93YZrAUh.png?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=LxCIVklcj2U%2FBPD%2B6fnH23NEBSg%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
動きを検知したら実行されるプログラム
ワニの口に手をいれたら実行されるプログラムを作ります。まず、大きな流れを作りましょう。
次の図の通り、[《A0》の電圧が《上がった》]ブロックで赤外線モーションセンサの値をチェックし続けます。手をワニの口に入れるとセンサが動きを検知して電圧が上がり、プログラムの実行が始まります。まず、乱数が発生し1〜10のいずれかの整数が変数「random」に入ります。そして、値が3以下ならワニの口が閉じて、そうでなければ口は開いたままになります。
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/k3BVGZKEWfVs7hCRV0oJl.png?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=ef7TySeonF6rX3Qg%2Ftt6QOErLZQ%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
このプログラムに、LEDの演出を足します。次の図の通り、ワニの口に手を入れたことを検知したらカウントダウン表示をし、ワニに食べられるときは「×」、食べられずにすんだ場合は「○」の表示をします。また、判定が終わってワニの口が開いたり手を抜いたりする動きを赤外線モーションセンサーが検知しないように5秒の待機時間を入れます。
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/-wj2ZS6TbACP9QXbQ_sfJ.png?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=gj9gdEtHJkRYK%2BBS6zVzIdNqr5U%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
これでプログラムは完成です。SPACEBLOCKにプログラムをスタンドアローンモードで転送して、もう一度ワニの中に入れて早速遊んでみましょう。
このプログラムでは、1〜10の整数の乱数を発生させて、3以下の場合はワニに食べられるようにしました。乱数が1〜3の場合ならワニに食べられて、4〜10の場合は食べられずにすみます。食べられる確率が30%で、食べられない確率が70%です。
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/0fV2yylQROQWSF0vquphe.png?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=rR38jm1F1ZoYDgGUK8a2imRLTx8%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/ODRMEGoVrFDv594AgL5zu.png?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=1jDpdVS7x7cM1%2FeKPomtzb%2FF4wo%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/QOXuXQ-H2sjgKq2k-XyFM.png?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=fnLCy63Txv910pOBOe9RdEiNBkE%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5vcnRoZWFzdC0xIkcwRQIhAM1QhBZEtiukHaloxa9dew6aFAXMS%2Fovl4GWEWW0CEvnAiB2j2YVVfg3M9Hu9sZN0%2B1Rg64QF%2BJjHajY3XHhuX7INSqUAwg5EAEaDDY3MzU4OTg5Nzk1NSIMXjbLFiSABzDuADOUKvECWQpG4pKaq3H9aYNBsCbW8lCHY%2Fd0si%2BGhK%2FyxT6kMKIJqPeNjZbXnhLWCOr8o2svvPC0GCDiVsnxG9jpKhe6HtYj4OYEvb5UNkv6aIZIwodD7%2B4RiTcM%2FB6jMJxFx4DbnhhJSNB%2BCUUI55pjIT7IC%2F3txjNWXZst8IEQz%2Bb7rFlu%2BYOq1RiiJ9BXshE2xGWLjpceQhqyDXOcqeNPWQsXjA1w3zxLU%2FDdQe5LdWpDpIc%2B23dlUHWE7%2FGdmUWsKviueI6%2BalVu27a9XdCPYglsn%2FADgFcQT1df1KtkUnaPOA8yyayHHvD5N8Nmcqdl68HSvEddaLsCL8uNEJlgCYUK1E%2B6XWKttbgTgH%2FKHSPKn6ih43IbtKq3jSCpPSwZa7NCYh1BL%2FQtRUNU2qSxRjfZbaxSSwUnHaEPMP8tiXCk4c5Ovmu8N7rKlBeBqgLc3wce%2BaVoOKa%2BMkuxHRXfk4zswjqqL397rlN%2BCQKBL60N%2BFLOMPvY87YGOp0Be9Wgf8qKBGUkizMZtu%2FyFqfOka6ugQcVav0qY9OdRAp8dvLxfDdGtAz8aiTeDC1iW7bwsqk6e8nJIvgc6WSd8WWPk8DgwvU3YDubYZ5rMg0zB2acDb%2BKOfP4PzPFzuRb1uSyAv9V%2FtbYlLkUkxeLYPzgzJrsuUzHMnv6UJQZoO7KEp9fh2WFi385mkwKJOhyGIftiCbNUf%2FR20jhqg%3D%3D)
ワニワニゲーム完成!
![](https://s3.ap-northeast-1.amazonaws.com/spaceblock.jp-storage/inquiries/2024-03-26/4G-x_2IW2niwGI0OsuwHo.jpg?AWSAccessKeyId=ASIAZZVIWFLRQ6EMNTT6&Expires=1725763056&Signature=V6w51gHFpCaYFXArId%2FY0%2FBoXX8%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBAaDmFwLW5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