Giter VIP home page Giter VIP logo

gomokuzero's Introduction

GomokuZero

C语言课作业-五子棋

说明

原本想要适配macOS、Linux、Windows三平台,但是因为难以解决的编码问题放弃了Windows的适配。推测是因为msvc使用了非utf-8编码导致编译失败。但是...这都要全面小康了为什么通用计算机还要用Unicode(UTF-8)以外的编码啊啊啊啊啊啊啊啊啊啊啊!

在 Apple clang version 11.0.0 (clang-1100.0.33.12) Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64 x86_64 下测试通过。

有哪些没做好...

感觉AlphaBeta搜索的代码写得不怎么样...应该是要写多线程的,但是被Grand Central Dispatch惯坏之后pthread都不怎么会用了(捂脸 其实既然不适配别的平台的话clang -fblocks也是可以GCD的...所以说就是懒)...(以及并行算法确实还要难写一些)

整个工程的设计模式不够清晰,不同部分的代码之间耦合度还是过高...有一部分是C的原因,没有面向对象很难分离代码;还有一部分是为了不花太多时间所以直接Hack了...

大棋盘小棋盘还有深色浅色这个应该是要运行时决定的,不过这里直接编译时决定了... 记得设定Auxliaire.h!!!

跨平台是本来想做的但是实在力有未逮...于是CMake和那一堆宏定义基本就没啥用了,好吧Darwin和一般的POSIX平台还是区分了一下(说得有啥用似的)。

寒假里用swift重写一下吧...

本项目公开仓库地址为 https://github.com/mirrorinf/GomokuZero.git

最后一版更新(包含CREDIT文件)将于2019年12月29日23时以后,2019年12月30日12时以前上传到GitHub. 为了避免麻烦在2019年12月23日将仓库设为私有...将在最后一版更新上传时重新设为公开。

gomokuzero's People

Contributors

mirrorinf avatar

Stargazers

David Lian avatar

Watchers

James Cloos avatar  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.