# Practice:Gravity<難易度 下中>

![](/files/-LAM1AHONXnVeGvaALK0)

万有引力(ばんゆういんりょく)を利用(りよう)したゲームを作成(さくせい) できるようになってみましょう。

物体(ぶったい)どうしは、お互(たが)いに引(ひ)き付(つ)けあう力(ちから)を持(も)っています。大(おお)きくて重(おも)い物体(ぶったい)ほどその力(ちから)は強(つよ)いです。

とても微弱(びじゃく)な力(ちから)のため、太陽(たいよう)だとか、地球(ちきゅう)といったとてつもなく大(おおきな)きな物体(ぶったい)でしか観測(かんそく)することができません。

### 地球(ちきゅう)は人(ひと)や物(もの)を地面(じめん)に引(ひ)っ張(ぱ)ります

![](/files/-LAM1AHevSUd6xOEekGq)

### 地球(ちきゅう)は月(つき)を引(ひ)っ張(ぱ)っています。

![](/files/-LAM1AINkT-iioBsHl5s)

## Scratchで再現(さいげん)してみましょう

![](/files/-LAM1AIma_3FMa8So3Ew)

<https://scratch.mit.edu/projects/84535698/>


---

# Agent Instructions: 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://firefirebook.firefirestyle.net/gravity.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.
