Code Monkey home page Code Monkey logo

atom-chen / simcivil Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tcz717/simcivil

0.0 1.0 0.0 815 KB

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.

License: MIT License

C# 98.95% Shell 0.12% Scilab 0.29% Dockerfile 0.35% PowerShell 0.30%

simcivil's Introduction

SimCivil

Codacy Badge Sentry

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

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上查看

配置开发环境

Package说明

  • SimCivil.Orleans.Grains 服务端主要逻辑架构,存放所有actor的实现
  • SimCivil.Orleans.Interfaces 定义actor的接口
  • SimCivil.Orleans.Server 服务端启动的载体,读取配置并启动silo
  • SimCivil.Gate 游戏网关,用于协调客户端和silo的通信
  • SimCivil.Contract 定义客户端可用的服务接口和游戏数据结构
  • SimCivil.Rpc 自定义简单Rpc库,为游戏客户端专门设计
  • SimCivil.Utilities 通用辅助代码,例如服务和选项的自动配置
  • SimCivil.Test 服务端单元测试
  • SimCivil.IntegrationTest 基于WPF的集成测试工具
  • SimCivil.SimpleClient 简单测试用客户端,已弃用
  • SimCivil.Scripts 计划中,存储游戏逻辑的脚本代码

simcivil's People

Contributors

tcz717 avatar panyz522 avatar bruno-garcia avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.