> For the complete documentation index, see [llms.txt](https://sharinghub.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub.kittenbot.hk/kits/12in1/info/flag.md).

# 奪旗小子

利用車子上的把手，嘗試將對手左右兩旁的旗幟巧妙地奪下來。

![](https://kittenbothk.readthedocs.io/en/latest/_images/flag.png)

### 組裝說明書和參考程式

說明書資源包： [資源包下載地址](https://bit.ly/12In1SumobotBuildingInstruction)

參考程式:

[奪旗小子-JoyFrog搖控](https://makecode.microbit.org/_bUuFeEW83CEt)

[奪旗小子-microbit搖控](https://makecode.microbit.org/_6ugdUsWaPddw)

[奪旗小子-主體](https://makecode.microbit.org/_b5cWwihAv7WX)

### 參考接線

![](https://kittenbothk.readthedocs.io/en/latest/_images/flag_wire.png)

### 模型玩法

#### JoyFrog遊戲手柄:

1. 將模型打開之後，手掣上的Microbit會顯示X符號，機械人會亮著紅燈。
2. 按下手掣的X按鍵，與機械人配對。當機械人亮起綠燈和Microbit出現剔號就可以開始行動。
3. 利用手掣上的搖桿控制機械人的移動，按下A鍵向左攻擊，B鍵向右攻擊。

#### Microbit控制:

1. 將模型打開之後，Microbit會顯示X符號，機械人會亮著紅燈。
2. 按下Microbit的A和B按鍵，與機械人配對。當機械人亮起綠燈和Microbit出現剔號就可以開始行動。
3. 利用Microbit的陀螺儀控制機械人的移動，按下A鍵向左攻擊，B鍵向右攻擊。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub.kittenbot.hk/kits/12in1/info/flag.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
