Pixels on the ScreenΒΆ
Calculate the number of pixels in your game by writing Python code:
store the number 32 in a variable tile_size
calculate how many pixels a 10 x 12 dungeon is wide and high if every tile has the extent tile_size.
store the result in two variables win_x and win_y.
calculate the product of the two variables (the number of pixels on the screen).
print the result.