Code Monkey home page Code Monkey logo

gobang-ver4.0-javaswing's Introduction

人工智能五子棋 第四版

前面三版都是用C++写的,只有黑窗口和不人性化的输入方式

这一版使用了java swing,且人工智能的识别速度大幅提升

游戏截图

游戏界面1.jpg

游戏界面2 .jpg

包管理

这版游戏,包管理还是比较到位的,大致如下:

包管理.jpg

怎么运行?

因为Java swing蛋疼到没有办法自己导出可执行文件,只能寄希望于第三方软件

怎奈何 jar2exe我用了半天,没整出来可执行文件(总是和jre有关),所以想运行的话,就把项目clone下来,在idea运行把(Eclipse也行,但是要设置一下,具体教程可以问度娘)

导入项目以后 选择 start包 下的BootFrame ,然后运行即可

后话

人工智能五子棋我是不想再写了,都要写吐了...

不过通过这版本和使用语言的不断迭代,我发现,自己的编程水平在不断提高。从一、二版的爪儿耳挠腮,废寝忘食(也没能实现),到第三版的磕磕盼盼(两周才写完),再到第四版的从容不迫(只用了三天不到)。这其中面临的诸多挑战和最后实现的成果,让我充分感受的代码的乐趣。

对于编程小萌新们,我建议,都可以来尝试写写人工智能五子棋,你的能力和兴趣一定会在这一过程中得到显著的提升。

gobang-ver4.0-javaswing's People

Contributors

wcgzgj 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.