# About

* **Torrentのダウンロードは、数学で有名なゲーム**
* **本章では、このゲームについて紹介と実装をしていく**

TrackerからPeerの一覧を取得てきるようになりました。Peer一覧を取得すると、Peerどうしでデータを配信しあうフェーズに入ります。

## Torrentのデータ配信はゲーム

P2Pでは、よく未解決な数学的な問題(ゲーム)を利用してプロトコルが設計されます。 例えば、Bitcoinは、「一定回数の「0」の連続から始まるハッシュ値」を計算して競うゲームを行います。このゲームが有効に実施されるのは、このハッシュ値を少ない時間で求める計算方法が存在していないから有効に動作するのです。

Torrentも同様に数学的に証明されていないゲームといいますか、悪意をもったユーザーが勝利しないとされているゲームを利用しています。

本章では、Torrentネッワーク上でPeerどうしが行っているゲームについて解説していきます。

## ゲームを利用して、仕組みを構築する知見を得る

本章を通して、「数学的なパズルやゲームや未解決問題を利用して仕組みを構築する事についての知見」を得る事ができます。 皆さんが独自のP2Pネットワークを構築する時に必ずこの考え方は、有効なはずです。

Kyorohiro work

<http://kyorohiro.strikingly.com>


---

# 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://nazenani-torrent.firefirestyle.net/client/about.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.
