Coolmathgames Penalty Kick _top_ 〈Trusted Source〉

.ball.kicked transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

canvas display: block; margin: 0 auto; border-radius: 24px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); cursor: pointer; background: #1f3b2c; coolmathgames penalty kick

.obstacle.wall border-radius: 8px; animation: none; .ball.kicked transition: all 0.6s cubic-bezier(0.25

let clientX, clientY; if (e.touches) // touch event clientX = e.touches[0].clientX; clientY = e.touches[0].clientY; e.preventDefault(); else clientX = e.clientX; clientY = e.clientY; canvas display: block

The direction of your swipe determines where the ball goes.