https://github.com/ktanakaj/matchingapiexample
gRPC勉強用マッチングAPIサンプルアプリ
https://github.com/ktanakaj/matchingapiexample
asp-net-core example grpc matching
Last synced: about 2 months ago
JSON representation
gRPC勉強用マッチングAPIサンプルアプリ
- Host: GitHub
- URL: https://github.com/ktanakaj/matchingapiexample
- Owner: ktanakaj
- License: mit
- Created: 2020-03-21T08:11:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-10T00:37:36.000Z (almost 3 years ago)
- Last Synced: 2025-03-06T13:16:41.098Z (over 1 year ago)
- Topics: asp-net-core, example, grpc, matching
- Language: C#
- Homepage:
- Size: 199 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gRPC勉強用マッチングAPIサンプルアプリ
gRPCの勉強用にASP.NET Coreで作成したサンプルアプリです。
ごく簡単なマッチングAPIを提供します。
## 開発環境
* Visual Studio 2022 Community - 統合開発環境
## 実行方法
Visual Studioでのデバッグ実行、またはVisual Studioでビルドして生成したバイナリを実行できます。
`MatchingApiExample`がサーバー、`MatchingApiClient`がクライアントです。
サーバーを起動した状態で、クライアントを実行してください。
(デバッグ実行時は「[マルチスタートアッププロジェクト](https://docs.microsoft.com/ja-jp/visualstudio/ide/how-to-set-multiple-startup-projects?view=vs-2022)」に設定すると便利です。)
クライアントは複数起動可能です。いわゆるマッチングは「部屋を探す」で実行できます。
レーティング値でルームへのマッチングを行うため、レーティング値を変更して動作を試すことができます。
(±100で5秒間隔で探索範囲を広げていって、10秒待って見つからなければ部屋を作成します。)
TODO: 部屋では「しりとり」で対戦できます。「しりとり」の勝敗に応じてプレイヤーのレーティング値が変動します。
## ライセンス
[MIT](https://github.com/ktanakaj/MatchingApiExample/blob/master/LICENSE)