Giter Club home page Giter Club logo

python_gess_game's Introduction

Author: Kevin Ivan Macandog

Date: 5/30/2020

Description: This code can be played as a game like Gess.

For rules of the game Gess, visit: https://www.chessvariants.com/crossover.dir/gess.html

This game is usually played on a the squares of an 18x18 grid of a Go board using standard Go stones, But here, we use 2-dimensional arrays to portray a board and use 'B' and 'W' to represent the stones and '-' to represent an empty block. To play, you can use the make_move function by inputting coordinates as parameters.

For example, game.make_move('e14', 'g14').

This code contains only one class that contains all the methods for the mechanics of this game and contains all the private data members of the board.

For a sample game play, uncomment the print statements at the bottom of the code.

python_gess_game's People

Contributors

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