blocks Module



Contents


Subroutines

public subroutine draw_piece(P)

Arguments

Type IntentOptional AttributesName
class(Piece), intent(in) :: P

public subroutine freeze(F, P, NP)

Arguments

Type IntentOptional AttributesName
class(Field), intent(inout) :: F
class(Piece), intent(inout) :: P
class(Piece), intent(inout) :: NP

public subroutine game_over(F, P, msg)

Arguments

Type IntentOptional AttributesName
class(Field), intent(in) :: F
class(Piece), intent(in), optional :: P
character(len=*), intent(in), optional :: msg