Added instructions for brandubh
This commit is contained in:
parent
321b04887b
commit
888878b385
37
brandubh.py
37
brandubh.py
|
@ -7,7 +7,42 @@ class Brandubh:
|
|||
self.winner = data['winner']
|
||||
self.current_player = data['current_ps_turn']
|
||||
self.piece = self.pieces[data['piece_index']]
|
||||
self.instructions = 'Coming soon...'
|
||||
self.instructions = """
|
||||
Brandubh (Pronounced brran-doov)
|
||||
|
||||
Instructions:
|
||||
The first player plays as the attacker (pieces marked 'a').
|
||||
The second player plays as the defender ('d). The defender has a leader/king ('D).
|
||||
|
||||
Objective:
|
||||
The first player's objective is to capture the second player's leader/king.
|
||||
The second player's objective is to get the king to one of the corners of the board.
|
||||
|
||||
Movement:
|
||||
All pieces move the same: as many spaces as a player would like in any orthagonal
|
||||
direction (up, down, left, right). Pieces cannot move through or jump over other
|
||||
pieces. Only the king can occupy the center square, though other pieces may move
|
||||
THROUGH the central square.
|
||||
|
||||
Capture:
|
||||
A player may capture an enemy by moving a piece against an enemy piece in a way
|
||||
that flanks the enemy piece (surrounds on two sides on the same axis). A player
|
||||
may move their piece between two enemy pieces without being captured. A piece
|
||||
may also be captured if it is next to a corner piece and an enemy piece is moved
|
||||
such that it flanks the piece using the corner as a friendly piece to complete
|
||||
the capture. Either side may use the corners in this way. The king performs
|
||||
captures the same as any other piece and can be captured the same way as any
|
||||
other piece.
|
||||
|
||||
Gameplay:
|
||||
Players alternate turns moving one piece per turn until either the king is dead
|
||||
or the king escapes to a corner.
|
||||
|
||||
More information:
|
||||
https://en.wikipedia.org/wiki/Tafl_games
|
||||
http://dragonheelslair.com/en/rulesbrandubh.php
|
||||
"""
|
||||
|
||||
self.p1 = data['p1']
|
||||
self.p2 = data['p2']
|
||||
self.board = data['board']
|
||||
|
|
Loading…
Reference in New Issue