function spaceinvaders() {
// Inside this function you will use the classes and functions
// from rx.js
// to add visuals to the svg element in pong.html, animate them, and make them interactive.
// Study and complete the tasks in observable exampels first to get ideas.
// Course Notes showing Asteroids in FRP: https://tgdwyer.github.io/asteroids/
// You will be marked on your functional programming style
// as well as the functionality that you implement.
// Document your code!
}
// the following simply runs your pong function on window load. Make sure to leave it in place.
if (typeof window != ‘undefined’)
window.onload = ()=>{
spaceinvaders();
}