Git Product home page Git Product logo

align3's Introduction

Demo Game

ALIGN-3

A 4x4 board game is played by two players. The game is deterministic, turn taking, zero sumgame and can be named as align3. The board positions can be specified by the row numbers R1, R2, R3,and R4; and column numbers C1, C2, C3, C4.

RULES

The row R1 is nearest to the base line as mentioned in the figure ,the two players are you (human, say H) and the intelligent agent (machine, say M ). In this game,player H gets 8 blue colored coins and player M gets 8 green colored coins. A player places a coin in anyone column at a vacant row position while it is necessary to ensure that rows near the baseline should not be left vacant before a coin is placed .

Board Image

HOW CAN YOU WIN THE GAME ?

The two players take turn one by one and strategically place their coins to win. The player who achieves the alignment of the three coins wins while the alignment can be horizontal, vertical or diagonal.

A single alignment of three coins in anydirection by a player terminates the game. In this game, the coins never move once placed. If no playercan achieve an alignment of three coins and all 8 coins of both players are consumed, then the game is a draw.

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.