Thats not what most people think of rail guns these days. These days, a railgun is a pair of electromagnetic "rails" that accelerates a magnetic projectile to dangerously high speeds. In scifi games with gravity technology, the rails might be based upon gravity to accelerate any projectile instead of just magnetic projectiles.