function drawOnDeck() {
		clearDeck()
		var onDeckCanvas = document.getElementsByClassName("tetron-next-piece")[0]
		var ctx = onDeckCanvas.getContext("2d");
		pieceOnDeck.draw(ctx, 2)

	}
//Add the next incoming piece to the piece on deck
Add the next incoming piece to the piece on deck
Add the next incoming piece to the piece on deck
function drawOnDeck() {
		clearDeck()
		var onDeckCanvas = document.getElementsByClassName("tetron-next-piece")[0]
		var ctx = onDeckCanvas.getContext("2d");
		pieceOnDeck.draw(ctx, 2)
	}
function drawOnDeck ( ) { clearDeck ( ) var onDeckCanvas = document . getElementsByClassName ( "tetron-next-piece" ) [ 0 ] var ctx = onDeckCanvas . getContext ( "2d" ) ; pieceOnDeck . draw ( ctx , 2 ) }
Add the next incoming piece to the piece on deck
Add the next incoming piece to the piece on deck