wangqr / dummy Goto Github PK
View Code? Open in Web Editor NEWdummy project used as gist alternative
dummy project used as gist alternative
第一行为原平台组,第二行为原逻辑组。不包括选手工程。
主要是指每回合的结算逻辑。
从技能施放队列中读取所有该回合的技能并进行合法性判定和局面更新。
结算局面内的单位消失和生成。
结算建筑物占领,更新全局buff,结算单位移动。
结算逻辑以外的部分。
利用socket接收各部分发来的信息,并把操作存放至GameMain类中合适的事件队列供下次结算使用。每回合结算完成之后将局面以一定方式经由socket发送给选手和界面。
编写非Python平台的相应的socket通信部分。选手文件部分还包括必要的工程文件(CMake,VS,etc.)。界面部分还包括人机对战的伪AI的指令发送。
提供基本的命令行接口,可以直接通过stdin或命令行参数指定双方AI、地图、游戏模式(常规赛/测试赛、调试模式)等信息,以及回放文件位置、结果文件位置、socket监听端口等杂项。游戏运行前能够依次进行版本检查、启动通信的相关代码、回放器、选手的AI等,调试模式下能够从stdio对游戏进行一定程度的控制、局面查看。
游戏回放文件的格式设计和读写操作,需要注意回放时可能需要前后跳转,版本间回放文件如不兼容应做检查。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.