Posts Tagged ‘ physics ’

Gravity Game in R

April 8, 2010
Gravity Game in R

So why should R only be used for ’serious’ stuff? No longer! I’ve written the following code in R which executes a little gravitational physics game. The goal of the game is simple. You supply a velocity and direction to a spaceship with the goal of getting the ship to the

Read more »