Skip to content
A C# game server simulating a civilization world allowing roles free interacting. The key goals of the game are to dynamically generate any skills, technologies, recipes, and objects according to role behavior, and imitating real-world roles interacting logic as much as possible.
Branch: master
Clone or download
tcz717 Fix #49 Add WriteStateAsync() to key methods (#50)
* Fix #49 Add WriteStateAsync() to key methods

* Add WriteStateAsync in model update
Latest commit dd4c93c May 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Add File logger for Gate May 15, 2019
SimCivil.Contract add body system May 15, 2019
SimCivil.Gate Rename component states May 15, 2019
SimCivil.IntegrationTest Update dependencies and upragde orleans to 2.3.0 May 15, 2019
SimCivil.Orleans.Grains Fix #49 Add WriteStateAsync() to key methods (#50) May 22, 2019
SimCivil.Orleans.Interfaces Fix #49 Add WriteStateAsync() to key methods (#50) May 22, 2019
SimCivil.Orleans.Server Reconfigure Endpoints May 15, 2019
SimCivil.Rpc Add Appearance grain May 15, 2019
SimCivil.SimpleClient Migrate server to Orleans Actor model (#19) Jun 19, 2018
SimCivil.Test Fix mismatching name May 15, 2019
snippets log: better log Aug 23, 2017
tools Migrate server to Orleans Actor model (#19) Jun 19, 2018
.editorconfig Add all effects May 15, 2019
.gitattributes 添加 .gitignore 和 .gitattributes。 Aug 11, 2017
.gitignore Allow version patch working May 15, 2019
.gitlab-ci.yml Update .gitlab-ci.yml Sep 10, 2017
.travis.yml Revert "Update travis.ci" May 15, 2019
LICENSE Add LICENSE Aug 11, 2017
README.md Update README.md May 15, 2019
SimCivil.sln Add Appveyor deploy scripts May 15, 2019
SimCivil.sln.DotSettings Fix #49 Add WriteStateAsync() to key methods (#50) May 22, 2019
appsettings.json Use option to enable development mode May 15, 2019
docker-compose.ci.build.yml add docker support Sep 9, 2017
docker-compose.dcproj add docker support Sep 9, 2017
docker-compose.override.yml add docker support Sep 9, 2017
docker-compose.yml Finally made docker-compose work May 15, 2019
xunit.bash Unlimit maxthreads Dec 14, 2018

README.md

SimCivil

Codacy Badge Sentery

此项目主要是游戏的服务端,负责核心逻辑处理

A C# game server simulating a civilization world allowing roles free interacting. The key goals of the game are to dynamically generate any skills, technologies, recipes, and objects according to role behavior, and imitating real-world roles interacting logic as much as possible.

介绍

服务器模拟一个非常自由或者说内容设定丰富的世界,世界里面的 所有人形生物 都是玩家写脚本自动控制的。游戏不提供官方的客户端,玩家可以选择使用人工智能、有限状态机、甚至手动控制的方式,利用服务器提供的API控制玩家的角色在游戏内生存、发展和竞争。

服务器启动方式

  1. 编译并运行SimCivil.Orleans.Server
  2. 编译并运行SimCivil.Gate

客户端

目前有一个@jykgod 基于Cocos Creator的2d客户端实现Ezgame

讨论

  • 如果对于项目设计有任何建议或者反馈,可以提交issue一起讨论
  • 错误日志汇总可以在sentry上查看

配置开发环境

主要模块

  • 游戏核心逻辑
  • 服务器网络通讯
  • 数据持久化(存档读档)
  • 图形化工具,包括数据编辑器,简易地图查看器
  • 其他辅助算法如A*寻路算法、Perlin地图生成算法等

主要概念

项目依赖

You can’t perform that action at this time.