initial commit

master
kirbylife 2019-11-06 17:48:53 -06:00
parent 64229b3c67
commit 3db11fe531
2 changed files with 6 additions and 4 deletions

View File

@ -33,7 +33,7 @@ class Afutc:
self.current_move = np.zeros(shape=(HEIGHT, WIDTH))
self.board_center = WIDTH // 2
self.current_piece = None
self.char = " "
self.char = ""
def get_size(self):
return self.stdscr.getmaxyx()
@ -47,7 +47,8 @@ class Afutc:
print("ANOTHER F TETRIS CLONE")
print(f"{row}")
for n, row in enumerate(self.board + self.current_move):
row = "".join("" if field else " " for field in row)
# row = "".join("" if field else " " for field in row)
row = "".join("" if field else " " for field in row)
print(f"{row}")
row = "" * (self.board.shape[1])
# print(f"╚{row}╝")

View File

@ -10,10 +10,11 @@ numpy = "^1.17"
[tool.poetry.dev-dependencies]
pytest = "^3.0"
ipython = "^7.9"
[tool.poetry.scripts]
start = "afutc:start"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry.scripts]
start = "afutc:start"