A Game about A Black Hole
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
README.md
about.html
index.html
main.js
style.css

README.md

TheBlackHole

A game made by using JavaScript and HTML5 canvas 2D.
The Back Hole apply a gravitational force on all the objects.
All objects apply a gravitational force on each others.

Try it online :)

Chrome App

How to Play

Click anywhere on the screen to add objects.
You can choose the object you want (sun, planet, moon) from above
just click on it then click anywhere on the screen.

If The Black Hole Swallowed an object you will lose.
If two object has hit each other you will lose.

The closer the object pass by the black hole the higher score you get.
The big object get higher score than the small one.

It's just that simple, Enjoy :)


**And It's not a real simulation, i just tried to simulate the physics of objects like velocity and gravity.**