Coder Social home page Coder Social logo

kob's Introduction

一个伟大的史诗级著作

King Of Bots:整个游戏平台的机制是用户注册完之后,可以来写若干个Bot。在同一时间,用户可以派出一个Bot去出战,跟别的Bot去PK。两个Bot PK完之后,会有一个天梯分的更新。每一个Bot都有一个天梯分,最后按照天梯分的排名将所有Bot进行排序。项目中不止支持机器,为了方便大家调试,让项目更有娱乐性,也可以支持人机。比如在出战时用户可以选择“人”玩还是“机器”玩,也就是你可以派出“自己”去出战,也可以派出你的“Bot”去出战,然后可以跟别人去匹配。

此Ai对战平台游戏的扩展性极强,主要是背后的逻辑。比如每一个“Bot”相当于是自己的一员大将,你是一个“元帅”,你每次可以选择派哪位大将出战。

数据库:需要存储用户的信息,需要存储Bot的信息,还需要存储每场对局的信息

微服务:匹配系统是一个微服务,包括每次对战的模拟(模拟其实是在后台去预算用户的Ai),每局对战也是个微服务

kob's People

Contributors

aubrey-chen avatar

Watchers

 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.