bullets.push(new Bullet(player.x, player.y, 1, 0));
if (keyCode === UP_ARROW) {
if (keyCode === DOWN_ARROW) {
if (keyCode === LEFT_ARROW) {
if (keyCode === RIGHT_ARROW) {
if (key === 'w') bullets.push(new Bullet(player.x, player.y, 0, -1));
if (key === 'a') bullets.push(new Bullet(player.x, player.y, -1, 0));
if (key === 's') bullets.push(new Bullet(player.x, player.y, 0, 1));
if (key === 'd') bullets.push(new Bullet(player.x, player.y, 1, 0));
if (key === 'q') bullets.push(new Bullet(player.x, player.y, -1, -1));
if (key === 'e') bullets.push(new Bullet(player.x, player.y, 1, -1));
if (key === 'z') bullets.push(new Bullet(player.x, player.y, -1, 1));
if (key === 'c') bullets.push(new Bullet(player.x, player.y, 1, 1));