2
I got this little game in HTML + Javascript + CSS a while ago, I would like to implement in it a team at the top corner of the screen (anywhere) but I always end up bugging every game!
Here the function that the Start in the game, I think about implementing the difficulty after being able to add this team onscreen:
function newGame() {
    block = 0
    angle = 2
    tempX = 0
    tempY = 0
    square = 0
    squareTop = 0
    squareLeft = 0
    squareMotion = 1
    nextScore = 0
    score = 0
    count = 0
    collisionOne = 0
    collisionTwo = 0
    collisionThree = 0
    clearTimeout(timeoutOne)
    clearInterval(intervalOne)
    clearInterval(intervalTwo)
    document.getElementById("square0").style.left = "0px"
    document.getElementById("square0").style.top = "0px"
    document.getElementById("square0").style.display = "block"
    document.getElementById("square1").style.left = "0px"
    document.getElementById("square1").style.top = "0px"
    document.getElementById("square1").style.display = "block"
    document.getElementById("pad").style.top = (gameHeight - 40) + "px"
    document.getElementById("pad").innerHTML = ""
    document.getElementById("notepad").innerHTML = ""
    intervalOne = setInterval("playGame()", speed)
  }
Follow the Game running:
The initial idea is to implement a team Start by clicking Play! Still have some bugs... little experience yet rsrsrs!