Code Monkey home page Code Monkey logo

gomoku's Introduction

Gomoku Grandmaster

           _____      _____                     _                     _            
     /\   |_   _|    / ____|                   | |                   | |           
    /  \    | |     | |  __ _ __ __ _ _ __   __| |_ __ ___   __ _ ___| |_ ___ _ __ 
   / /\ \   | |     | | |_ | '__/ _` | '_ \ / _` | '_ ` _ \ / _` / __| __/ _ \ '__|
  / ____ \ _| |_    | |__| | | | (_| | | | | (_| | | | | | | (_| \__ \ ||  __/ |   
 /_/    \_\_____|    \_____|_|  \__,_|_| |_|\__,_|_| |_| |_|\__,_|___/\__\___|_|   

An original gobang/gomoku ai implemented using swift. Compatible with ios.

Introduction

This lightweight gomoku AI program is made based on a unique heuristic algorithm that would certainly provide the players with a new level of game-play experience. The AI is certainly not unbeatable, but it is equally good at attacking and making silly mistakes -- and this is what makes it more human like. It is capable of making outstanding moves based on an optimized minimax search algorithm that delves deep into the game tree while it is also capable of making simplistic mistakes due to imperfections built into its linear evaluation mechanism. This is precisely what makes this AI a playable opponent that is equally engaging and intriguing to battle against.

Features

  • five levels, each of which has a slightly different personality.
  • simplistic UI design
  • adjustable board dimension
  • convenient retraction of a false move made by either the AI or the player at any stage of the game (even after the game is terminated)
  • dynamic description of the AI's strategy
  • comprehensive analysis of the game status that could be made available upon the player's preference
  • human vs. human

gomoku's People

Contributors

jiachenren avatar

Stargazers

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