[AB-66] adapting invalid mine board configuration message

This commit is contained in:
Sheldan
2022-12-02 21:21:33 +01:00
parent 50d5954d6b
commit 95b9b3ba3b
2 changed files with 3 additions and 1 deletions

View File

@@ -1 +1,2 @@
<#assign minRatio>${model.minMinesRatio * 100}</#assign>
<#include "invalid_mine_board_config_exception_text">

View File

@@ -1 +1,2 @@
Invalid mines configuration: Width and height at least 1 and at most 5 each. There must at least one mine and at least one field without a mine!
Invalid mines configuration: Width and height at least 2 and at most 5 each. There must at least 2 mines and at least one field without a mine!
Also at least ${minRatio}% of the fields need to be mines.