haskell developer -- 2

종료 등록 시간: 1년 전 착불
종료 착불

Ploy is a board game similar to chess, in which each player has a set of

pieces with different freedom of movement, which can be used to capture

opposing pieces. The goal is to capture either the commander or all other

pieces of the opposing party. Ploy is available for two or four players, with

only the two-player variant being part of the task.

Rules

The game is played on a two-dimensional board with 9x9 squares - black

starts. Each party has 15 pieces at the beginning, on which different

numbers of movement directions are marked by lines. In each turn, a piece

can be moved and/or rotated, whereby the abilities of the individual pieces

differ. It can be shown in the figure.

In each move, a movement and/or a rotation must be performed to bring about a

change of state. A figure can be moved horizontally, vertically and diagonally along

the direction lines shown on the figure. Figures cannot be jumped over. In the target

square there may be either no piece or an opponent's piece, in which case the opponent's piece is removed from the board. The following diagram shows the moves in Y-plane.

The end of the game is reached when one of the two parties either no longer has a

commander or only has the commander. The party that has made the last move

wins.

Notation

For the description of the game situation and moves we use a modified FEN

notation (known from chess). That is, the columns are labeled with small letters

from a to i, the rows with numbers from 1 to 9. To determine a field

unambiguously, the column is always indicated first and then the row. Here a1

denotes the lower left corner, i9 the upper right. At the beginning, the black figures

are on the " bottom " squares in rows 1-3, the white ones on the " top " ones in

rows 7-9.

Game board

The game board is described by a string, which is constructed as follows: rows are

separated by "/", and within the rows the squares are separated by ",". There is no

"/" at the beginning and end of the string, and no "," at the beginning and end of

each row. The field a9 is specified first, and the field i1 last. Within a field there can

be a figure coded as follows: the first character is the color, "b" stands fu ̈r black

and "w" stands fu ̈r white. The following digits are a decimal number between 1 and

255, which, as an unsigned 8-bit binary number, encodes with each bit a direction in

which the figure may go (shown as a dash in the graphics). The LSB (Least

Significant Bit) stands for up (or north, or along a column in the direction of the

row with the ho ̈higher number), and the respective ho ̈higher bits stand for the

other directions, starting clockwise from north.

If there is no figure on the field, the position in the string will also remain empty.

So the board at the beginning is described as a valid FEN string as follows:

,w84,w41,w56,w170,w56,w41,w84,/,,w24,w40,w17,w40,w48,,

,,w16,w16,w16,,,/,,,,,,,,/,,,,,,,,/,,,,,,,,/,,,b1,b1,b1,,,/

,,b3,b130,b17,b130,b129,,/,b69,b146,b131,b170,b131,b146,b69.

Moves

Moves are described by a string of the form <start>-<destination>-<rotation>, where ...

Cant post it all here. I will attach it later after we talk cause its from the univercity

프롤로그 자바 하스켈 공학

프로젝트 ID: #35494851

프로젝트 소개

2 건(제안서) 재택 근무형 프로젝트 서비스 이용 중: 1년 전

이 일자리에 대한 프리랜서 2 명의 평균 입찰가: €27

yeshwanthks183

Phone X App Solutions is a web & mobile app development company that provides solutions with industry requirements and budget. Phone X App Solutions - Service Provider of website designing, digital marketing services & 기타

€19 EUR (7일 이내)
(0 리뷰)
0.0
mikkul

Hi! This game project sounds very interesting. I'm a chess player myself and I'm famliar with the FEN notation, so I'm sure I can tackle this project. Message me and we can talk about the details.

€35 EUR (7일 이내)
(0 리뷰)
0.0