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.
Thomas BARBIER c8060bdbd8
Mise à jour de 'README.md'
2 years ago
.gitignore Initial commit 2 years ago
README.md Mise à jour de 'README.md' 2 years ago

README.md

connect4

classDiagram
    class Player
    Player : int id
    Player : string name

    class Board
    Board : int nbrow
    Board : int nbcol
    Board : array board
    Board : _checkBoundaries(row, col)
    Board : _removePiece(row, col)
    Board : _insertPiece(row, col, playerId)
    Board : insertPieceIntoColumn(col, playerId)

    class Rules
    Rules : string name
    Rules : int nbrow
    Rules : int nbcol
    Rules : checkBoardSize(board) bool
    Rules : isFull(board) bool
    Rules : _checkHorizontalLines(board, row, col) bool, id, winningCell
    Rules : _checkVerticalLines()
    Rules : _checkDiagonalNWtoSE()
    Rules : _checkDiagonalNetoSW()
    Rules : checkAll()

    Rules ..> Board