With this code snippet, you'll be able to retrieve the x and y coordinates of a click in pixels:
document.getElementById("game").addEventListener("click", function(event) {
console.log(event.clientX, event.clientY);
});
However, I'm curious about how to retrieve the x and y values relative to VH (Viewport Height) and VW (Viewport Width) like you can in CSS with values such as 20vh [20% of viewport height] and so on.