Prześlij pliki do ''
This commit is contained in:
parent
4675500a89
commit
d0efae4171
14
Main.cpp
14
Main.cpp
@ -48,7 +48,6 @@ int gmoLeftZiemniaki;
|
||||
string kod_genetyczny[27][27];
|
||||
|
||||
string generateValue() {
|
||||
|
||||
char trash[100];
|
||||
string x = itoa(rand() % 1000,trash,10);
|
||||
if (x.size() == 2) {
|
||||
@ -1111,6 +1110,19 @@ int main()
|
||||
pole[i + 1][i + 1][0] = 'B';
|
||||
pole[i + 1][i + 1][1] = '9';
|
||||
}
|
||||
|
||||
for (int i = 0; i <25; i++) {
|
||||
for (int j = 0; j <10; j++) {
|
||||
pole[j + 1][i + 1][0] = 'B';
|
||||
pole[j + 1][i + 1][1] = '9';
|
||||
}
|
||||
}
|
||||
for (int i = 0; i <25; i++) {
|
||||
for (int j = 10; j <20; j++) {
|
||||
pole[j + 1][i + 1][0] = 'Z';
|
||||
pole[j + 1][i + 1][1] = '9';
|
||||
}
|
||||
}
|
||||
|
||||
updatePola();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user