オンラインゲームのサーバー実装

p-hone
p-hone
Aug 22, 2017 · 1 min read

オンラインゲームのサーバーといえば、ネットワーク処理大好きなプログラマなら一度は作ってみたいって思うはず。

「オンラインゲームのサーバー」って具体的にどんな構成のもの?

  • ユーザー認証
  • オンラインのユーザーを管理
  • ユーザーのマッチング・部屋分け (lobby, room などとよく呼ばれるもの)
  • 部屋内でのパケットリレー

このあたりは様々なゲームで共通と思われる。もう少しプログラミングよりで考えると、重要なのは以下の項目

  • 不正なアクセスができないこと(セキュリティの設計)
  • 同時に多くのユーザーが接続しても大丈夫なこと(並列処理の設計)
)
    p-hone

    Written by

    p-hone

    株式会社イーグルジャンプでゲームプログラマーをしています✨よろしくお願いします。

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade