You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Normalise (normalize) unicode data in Python to remove umlauts, accents etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pressman is a two-player board-game where opponents try to capture all of the other player's SOLDIERS. The SOLDIERS are round black and white pieces similar in size to checker pieces. The board is an 8x8 grid of 64 squares of alternating light and dark color (similar to a checkers or chess board) called the BATTLEFIELD.
At the beginning of the game one player has 28 white SOLDIERS and the other other has 28 black SOLDIERS. Players set up their pieces by filling up the first two rows that are closest to them with 16 of their 28 SOLDIERS as shown in the diagram below:
The remaining pieces are placed off to the side of the board for later use.
Movement and Capturing of SOLDIERS
The BATTLEFIELD is divided into eight vertical columns, called FILES, and eight horizontal rows, called FLANKS. All Pressman SOLDIERS move similar to a queen does in the game of chess. They can move horizontally along FLANKS, vertically along FILES, or diagonally.