This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import randrange | |
class Ambiente(object): | |
def __init__(self, dimension:int, n_pits:int, n_golds:int=1, n_wumpus:int=1): | |
""" | |
:param dimension: int - dimensão do ambiente | |
:param n_pits: int - número de poços | |
:param n_golds: int - número de ouros | |
:param n_wumpus: int - número de wumpuss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Teste</title> | |
</head> | |
<style type="text/css"> | |
*{ | |
margin: 0; | |
padding: 0; |