You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
pn43yj7s9 28cb9f8229
Update README.md
2 years ago
README.md Update README.md 2 years ago

README.md

hrd


| Game |

| - board: Board | | - players: Player[] |

| + Game(rows: int, cols: int, playerNames: String[]) | | + playGame(): void |


| Board |

| - pieces: Piece[][] |

| + Board(rows: int, cols: int) | | + placePiece(piece: Piece, row: int, col: int): void | | + getPiece(row: int, col: int): Piece |


| Piece |

| - type: int | | - row: int | | - col: int |

| + Piece(type: int, row: int, col: int) | | + getType(): int | | + setType(type: int): void | | + getRow(): int | | + setRow(row: int): void | | + getCol(): int | | + setCol(col: int): void |


| Player |

| - name: String |

| + Player(name: String) | | + getName(): String |