Hi there,
I have already developed a virtual scratch card. Coded in HTML5 canvas and JavaScript. Let me know if you need anything else than just the scratch card that can be scratched off using mouse.
When a defined % of pixels is scratched off, we can execute any callback function, for example show a popup or similar.
Regards,
Julijan