Giter Club home page Giter Club logo

breakthrough's Introduction

Breakthrough

Play a game of Breakthrough against an advanced AI agent!

example game

Rules:

Breakthrough is a two-player abstract strategy board game that was invented by Dan Troyka in 2000. The game is played on an 8x8 square board with each player having 16 pieces in the form of checkers, which are initially placed on opposite sides of the board.

The objective of the game is for one player to either get one of their pieces to the opposite side of the board or to capture all of the other player's pieces. The players take turns moving one of their pieces diagonally forward one square at a time, with the option to capture an opponent's piece by moving diagonally forward into a square occupied by an opponent's piece. Captured pieces are removed from the board.

A player may not move a piece backwards unless it has reached the opposite end of the board and is promoted to a "king" piece, which can move both forwards and backwards. In addition, a player may not make a move that would leave one of their pieces without any neighboring squares, unless it is a move that captures an opponent's piece.

The game of breakthrough is typically won through careful planning and strategic moves, as well as the ability to recognize and capitalize on your opponent's mistakes.

(game explanation generated with GPT-3)

Running the program:

Simply navigate to the src file and use command:

python3 game.py

on Linux/Mac, or

python game.py

on Windows.

breakthrough's People

Contributors

joey-scanga avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

collinr77

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.