yuri213212 / pwt Goto Github PK
View Code? Open in Web Editor NEWmini board game used in math competition
mini board game used in math competition
pwt (ver 0.2 beta) by Yuri213212 使用协议:对于所有文件遵循CC BY-NC-SA 4.0。 https://creativecommons.org/licenses/by-nc-sa/4.0/ 此游戏曾经为“走进美妙的数学花园”数学竞赛的个人游戏(游戏比赛部分)。 游戏没有官方的名字说法,英文名暂定为“Pentagram without triangle”,缩写为“pwt”。 规则如下: ·双方各有5枚棋子,轮流在五角星棋盘的交叉点下棋 ·如果一方的棋子与棋盘上的线构成三角形,该玩家输 ·如果双方将10枚棋子安全地下完,游戏平局 该程序实现了游戏的操作和胜负判定,并且添加了两个级别的AI。 低级AI只会尽量保证下一步不自杀,而高级AI知道最优解,AI的动作拥有随机性。 你可以在任何时间点让AI帮你走下一步,但是推荐在使用AI时只让同一种AI控制同一个玩家,达到玩家对战AI或者AI互掐的效果。 程序中Player1为先手方,执蓝棋;Player2为后手方,执粉棋。 每走一步,最后下的棋子中心拥有白色叉标记。 操作方法: ·对于人类玩家,单击交叉点附近下棋 ·对于AI玩家,单击菜单上的JuniorAI或SeniorAI按钮,或者键盘按J(低级AI)或S(高级AI)下棋 ·单击菜单上的New Game按钮或者键盘按Esc重置棋盘
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.