Coder Social home page Coder Social logo

gomoku's Introduction

GOMOKU

简单的五子棋,是SDU计科专业2022级计算导论课程的大作业

1

Based on QT 5.9.0

19th May,用 Qt 6.5 再次跑了一下,顺便修复了 ( 大概 ) 内存泄露的问题

算法

评分表的算法。

功能实现

  • 1.能够正确判断对局输赢并结束游戏。

文件操作

  • 1.能够将已进行对局的每一步信息存储到文件中。
  • 2.能够从文件中读取对局信息。
  • 3.能够将从文件中读取的信息以对局回放的形式展示出来。

多模式

  • PVP、PVE(P-first & E-first)、EVE

图形界面

  • 1.使用图形化界面的形式来实现五子棋。
  • 2.通过鼠标来控制棋子落点。

功能完善(30分)

  • 1.数据持久化:通过更巧妙的方法和形式来存储对局信息。

例如使用json、xml、csv等格式存储信息。

  • 2.更完善的存储操作:可以存储多个对局的信息,实现对局信息的增删改查功能。
  • 3.异常处理:能够对程序运行过程中出现的各种异常进行提示和处理。

例如提示操作越界、违规、存储信息的文件遭到破坏等。

  • 4. 数据处理:将存储的对局数据进行排名或记录,展示每一局的时间、步数、输赢方等信息。

将存储的信息进行可视化处理。

  • 5. 软件发布:将程序打包成软件。

例如将程序打包成exe文件,并包括程序的运行环境,确保可以在非开发环境中正常打开。

聪明的电脑

  • 1.在和人对弈时能够对弈至少20步(总步数)。
  • 2.通过各种方式实现人机对弈的机器先手必胜。

gomoku's People

Contributors

jenway avatar

Watchers

 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.