Skip to content

JuliusBooth/GravityWell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GravityWell

A spaceship is trapped in a gravity well. Survive for as long as possible and make as many revolutions as you can before you crash. Avoid asteroids and the blackhole by using up and down keys. The closer the spaceship moves to the blackhole the faster it'll go.

To play: https://gravitywell-d5c98.web.app/

OR

  1. Clone this repo
  2. Open gravitywell.html in browser

Gravity Well


Gravity Well

Avoid space debris and orbit the blackhole as many times as you can.

  • up arrow to fly away from blackhole, decreasing orbital velocity.
  • down arrow to fall into blackhole, increasing orbital velocity.
  • t applies a local time dilation to the spaceship for one second.
  • p to pause and unpause.
  • spacebar to restart.
  • s to mute and unmute.

by Julius Booth

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages