Skip to content

nveenjain/gravity

Repository files navigation

gravity

The gravity game for fun. https://nveenjain.github.io/gravity

In this game, blue circles represent planets, yellow circles represent stars.

Right click to create stars

Left click to create planets, to give initial speed to planets, slide while clicking.

A Planet dies if it collides with any other planet/star or go outside the scope of current window.

Current point system is based on amount of time any planet is alive. If any planet is alive,score keeps increasing otherwise it decreases.