GithubHelp home page GithubHelp logo

blockade's Introduction

Blockade

This is another game made for the Game Design class I took.

This game is a turn based strategy game, that's essentially a board game. The game logic is not implemented in the game, but if you are playing with another player, you can still play by the rules.

Installation

  1. Clone this repo.
  2. Run python game.py. This program is compiled with Python2.7 and PySFML, so you'll need to get those as dependencies.

Rules

  1. This is a two player game. The player on the left is trying to move the blue circle into the blue spaces, and the player on the right is trying to move the red circle into the red spaces.
  2. On each turn, a player must either move their circle by one space (up, down, left, right) or place a blockade on the grid.
  3. Neither player may pass through a blockade, whether it was placed by them or their opponent.
  4. You may not move blockades that have already been placed.
  5. You may not build a wall with blockades. This means that both players must always have a path to their goal, that is not fully closed off by blockades.
  6. When a player can make no more moves, he loses.

Configuration

You can edit constants.py to change around the dimensions of the board. The rendering code isn't the cleanest so you might need to tweak some of it to correctly show the game.

blockade's People

Contributors

v avatar

Stargazers

 avatar

Watchers

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