All Projects → im0qianqian → Reversi

im0qianqian / Reversi

Licence: MIT license
🎲 黑白棋 课程设计 + AI (Minimax)

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Reversi

HandyRL
HandyRL is a handy and simple framework based on Python and PyTorch for distributed reinforcement learning that is applicable to your own environments.
Stars: ✭ 228 (+375%)
Mutual labels:  games
EMF
Extended Mechanics & Flavor
Stars: ✭ 33 (-31.25%)
Mutual labels:  games
Flappy-Bird-Genetic-Algorithms
Use genetic algorithms to train flappy bird
Stars: ✭ 83 (+72.92%)
Mutual labels:  games
uno-game
🎴 An UNO Game made in Javascript
Stars: ✭ 93 (+93.75%)
Mutual labels:  games
webDOOM
Classic DOOM recompiled with WebAssembly
Stars: ✭ 61 (+27.08%)
Mutual labels:  games
osgc
Open Source Game Collection - mini games created with xygine and SFML!
Stars: ✭ 17 (-64.58%)
Mutual labels:  games
gust tools
A set of utilities for dealing with Gust (Koei Tecmo) PC games files
Stars: ✭ 117 (+143.75%)
Mutual labels:  games
tournament-generator
A set of classes used to create multiple kinds of tournament brackets in PHP
Stars: ✭ 38 (-20.83%)
Mutual labels:  games
moon-cheeser
Moon Cheeser is an infinite runner where the player plays as a mouse gathering cheese pieces and avoiding craters and other astronomical objects, such as comets and planets, on a moon made of cheese.
Stars: ✭ 32 (-33.33%)
Mutual labels:  games
open-source-games
A list of open source games.
Stars: ✭ 65 (+35.42%)
Mutual labels:  games
pokerwars.io-starterbot-python
A starter bot written in python for the pokerwars.io platform. To play: pull this code, register on pokerwars.io, get your API token and play!
Stars: ✭ 37 (-22.92%)
Mutual labels:  games
crossbow
Cross-Platform Rust Toolkit for Games 🏹
Stars: ✭ 80 (+66.67%)
Mutual labels:  games
AI4U
AI4U is a multi-engine plugin (Unity and Godot) that allows you to specify agents with reinforcement learning visually. Non-Player Characters (NPCs) of games can be designed using ready-made components. In addition, AI4U has a low-level API that allows you to connect the agent to any algorithm made available in Python by the reinforcement learni…
Stars: ✭ 34 (-29.17%)
Mutual labels:  games
WildWorld
Sandbox freestyle multiplayer game/engine in LÖVE/LUA.
Stars: ✭ 35 (-27.08%)
Mutual labels:  games
StadiaIcons
A set of icons for games based on the Google Stadia logo.
Stars: ✭ 20 (-58.33%)
Mutual labels:  games
GTA-One-Liners
A collection of gifs made out of almost every dialogue in GTA and other games.
Stars: ✭ 37 (-22.92%)
Mutual labels:  games
zx-spectrum-games
Collection of ZX Spectrum annotated game source code dissasemblies as .skool files
Stars: ✭ 35 (-27.08%)
Mutual labels:  games
Gamers-Console
🚀 A list of Game development tutorials in different programming languages.
Stars: ✭ 35 (-27.08%)
Mutual labels:  games
gamebox
Gamebox is a collection of minigames written in C using Gtk+-3.0
Stars: ✭ 15 (-68.75%)
Mutual labels:  games
arxwasm
Port of Arx Libertatis to WebAssembly using Emscripten
Stars: ✭ 28 (-41.67%)
Mutual labels:  games

黑白棋 课程设计 + AI

build release platform license

准备

编程语言:C++
编译环境:VS2015 + EasyX
编译平台:Windows

介绍

黑白棋,又叫翻转棋(Reversi)、奥赛罗棋(Othello)、苹果棋或反棋(Anti reversi)。
游戏通过相互翻转对方的棋子,最后以棋盘上谁的棋子多来判断胜负。
它的游戏规则简单,因此上手很容易,但是它的变化又非常复杂。
有一种说法是:只需要几分钟学会它,却需要一生的时间去精通它。
单人模式
玩家执黑棋
提供简单、中等、困难AI。
其中简单AI返回可转化棋子最大位置,
中等以及困难AI进行极大极小博弈树搜索,返回搜索指定层数之后的最优解。
双人模式
黑棋为先,两人交替出棋    
联机对战 通过Socket编程实现,两人必须处于同一个局域网下,一人创建,一人连接,
连接成功后进入游戏,对弈开始,其中服务端为白棋,客户端为黑棋,黑棋为先。##### 观战模式
电脑 Middle 对战电脑 Difficult
游戏介绍
	"五步之内,百人不当",
	"十年磨剑,一孤侠道",
	"千里挥戈,万众俯首",
	"四海江湖,百世王道",
	"每一个来到墨问的人 都会面临选择",
	"天下皆白 唯我独黑",
	"民生涂炭 奈之若何",
	"墨门绝术 克而不攻",
	"八横八纵 兼爱平生",
	"墨家主张非攻兼爱 要获得胜利",
	"并非一定要通过杀戮 攻城为下 攻心为上",
	"墨攻棋局 棋子虽然不多",
	"但是敌我双方的转化 却是千变万化 步步惊心",
操作说明
	"王道之室中 不是普通的棋局",
	"而是根据本门绝学精髓设计而成的墨攻棋阵",
	"墨攻棋阵与围棋明显的不同就是",
	"墨攻棋局中不会有任何棋子被杀死",
	"当一方的棋子被另一方棋子前后围堵",
	"那这些棋子就转化成另一方",
	"当然 如果这些棋子又被围堵时",
	"还可以再次转化",
	"最后六十四格棋盘布满时就看双方谁的棋子数量多",
	"哪一方就获胜",
	"墨攻棋局 每一次落子必须要形成转换",
	"如果对方没有可被转换的棋子时",
	"这种情况 本方就只能放弃这一轮出手",
	"能够把对手逼入这种困境 就叫作破阵 是最厉害的招数",
关于
	"感觉主动进入这个页面的人都是关心 千千 的人哟!",
	"怎么说千千也都是新人那!",
	"懵懂无知感觉时间过得真的好快,不知不觉就要度过大一啦~",
	"只是不想在考试之后看到自己会挂科 o(╯□╰)o",
	"每次更换头像都会找很久很久惹",
	"千千的梦想呢?不会说出来的~ 因为自己也不知道",
	"想让身边的每个人开心~ 毕竟他们也曾经让我开心过~",
	"#More 哒哒……",
	"千千是我啦!不是千玺~",
	"毕竟我是让班里唯一一个喜欢千玺的女孩更换称呼的人惹~",
	"当然继续叫千千也没事啦~ 我不会介意的╮(╯▽╰)╭[害羞]  @蛋蛋",
	"千千是个90后,噫~",
	"不能这么说啦,98后~",
	"千千的生日是新年的第四天 n(*≧▽≦*)n",
	"对我说元旦快乐的同时也可以Happy  birthday  to  me!",
退出游戏
游戏中 ESC 退出返回到上一级

关于

作者:千千
版本:v1.2
分支:大一C语言课程设计
说明:游戏中部分界面可按ESC退出,使用过程中如若发现Bug,请不要忘记在这里留言哦!
网站:https://www.dreamwings.cn/
已知Bug:
1、ESC必须通过鼠标配合才可以正常退出
2、可能会出现创建服务器时候 连接失败 的情况
已修复Bug:
在某方无子可走的情况下“当前执子”显示出现错误 (感谢 @王余阳)

链接:黑白棋中的AI

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].