criação de pasta 'modules'

pasta 'modules' contém os diferentes módulos usados pela app
This commit is contained in:
2024-09-07 00:57:36 +01:00
parent 3cf9172472
commit 1ca8aa3c8b
6 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -1,4 +1,4 @@
from agente import Agente from modules.agente import Agente
tamanho_mundo: tuple = (24, 24) tamanho_mundo: tuple = (24, 24)
@ -15,5 +15,5 @@ for _ in range(0, tamanho_mundo[0]):
m, n = 0, 0 m, n = 0, 0
for m in range(0, tamanho_mundo[0]): for m in range(0, tamanho_mundo[0]):
for n in range(0, tamanho_mundo[1]): for n in range(0, tamanho_mundo[1]):
print(f'{mundo[m][n].pontuacao} ', end='') print(f'{mundo[m][n].pontuacao:2} ', end='')
print('') print('')

0
modules/__init__.py Normal file
View File

Binary file not shown.

Binary file not shown.