OrleansGame:开始学习奥尔良,不确定会在哪里结束

上传者: 42117485 | 上传时间: 2023-03-09 18:36:19 | 文件大小: 74KB | 文件类型: ZIP
C#
奥尔良游戏项目示例 第一次尝试在奥尔良编写小型示例游戏,但我对奥尔良并没有任何经验,因此,请勿将其视为做任何事情的正确方法:D 先决条件 该项目基于.Net Core 2.0和Orleans 2.0构建。 将来,该项目将使用Docker,这将成为一项要求。 入门 克隆项目 打开终端并在顶级文件夹中运行dotnet restore 打开第二个终端,cd进入Server文件夹,运行dotnet run 在原始终端上,cd进入Client文件夹,运行dotnet run 设计 该项目按照Orleans样本格式分为四个主要部分。 客户端-目前,这只是一个测试控制台 服务器-这是奥尔良的筒仓 GrainInterfaces-这是Grain接口以及服务器和客户端上用于两者之间消息的任何共享类型 GrainImplementations-这是客户可以调用apon的谷物实现 游戏讯息执行架构 概述

文件下载

资源详情

[{"title":"( 28 个子文件 74KB ) OrleansGame:开始学习奥尔良,不确定会在哪里结束","children":[{"title":"OrleansGame-master","children":[{"title":".gitignore <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"GrainInterfaces","children":[{"title":"Game","children":[{"title":"GameInfo.cs <span style='color:#111;'> 262B </span>","children":null,"spread":false},{"title":"Messages","children":[{"title":"GameMessage.cs <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"Actions","children":[{"title":"ShootMessage.cs <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"MoveMessage.cs <span style='color:#111;'> 267B </span>","children":null,"spread":false}],"spread":true},{"title":"Setup","children":[{"title":"PlayerJoinedMessage.cs <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"PlayerLeftMessage.cs <span style='color:#111;'> 231B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"IGameActionMessageHandler.cs <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"IGameState.cs <span style='color:#111;'> 256B </span>","children":null,"spread":false},{"title":"IGame.cs <span style='color:#111;'> 527B </span>","children":null,"spread":false}],"spread":true},{"title":"GrainInterfaces.csproj <span style='color:#111;'> 464B </span>","children":null,"spread":false},{"title":"Player","children":[{"title":"IPlayer.cs <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":"PlayerInfo.cs <span style='color:#111;'> 199B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"OrleansGame.sln <span style='color:#111;'> 4.99KB </span>","children":null,"spread":false},{"title":"Docs","children":[{"title":"OrleansStructure.png <span style='color:#111;'> 60.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"Readme.md <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"Client","children":[{"title":"Program.cs <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"Client.csproj <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"Observers","children":[{"title":"GameStreamObserver.cs <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"GameStreamActionObserver.cs <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"GrainImplementations","children":[{"title":"GrainImplementations.csproj <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"PlayerGrain.cs <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"GameStateGrain.cs <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"GameActionMessageHandlerGrain.cs <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"GameGrain.cs <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"Server","children":[{"title":"Program.cs <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"Server.csproj <span style='color:#111;'> 480B </span>","children":null,"spread":false}],"spread":true},{"title":".editorconfig <span style='color:#111;'> 407B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明