Add MANIFEST to demonstrate packaging.
Minor work on fixing the board.
This commit is contained in:
parent
4d9311ecc3
commit
a2066b44d0
|
@ -0,0 +1,4 @@
|
|||
include justcheckers/assets/*.md
|
||||
include justcheckers/images/*.png
|
||||
include justcheckers/images/*.jpg
|
||||
include requirements.txt
|
|
@ -126,9 +126,6 @@ class GameBoardWidget(QtGui.QGraphicsView):
|
|||
for column in xrange(8):
|
||||
board_coords = Coordinates(x=column, y=row)
|
||||
current_coords = Coordinates(x=55 * board_coords.x, y=55 * board_coords.y)
|
||||
|
||||
print("{}x{} = board, {}, {} = real".format(board_coords.x, board_coords.y, current_coords.x, current_coords.y))
|
||||
|
||||
item = BoardSquare(board_coords, game_board, parent=board_background)
|
||||
item.setPos(-1 * current_coords.x, -1 * current_coords.y)
|
||||
|
||||
|
|
|
@ -90,4 +90,4 @@ class MainMenuView(QtGui.QWidget):
|
|||
self.parentWidget().setCurrentIndex(1)
|
||||
|
||||
def switch_to_game_view(self):
|
||||
self.parentWidget().setCurrentIndex(2)
|
||||
self.parentWidget().setCurrentIndex(2)
|
||||
|
|
Loading…
Reference in New Issue