SpaceX have forgotten to build a control system for their next rocket!
They just realised this small problem while the rocket was in flight, so your mission to is quickly build one in ReactJS.
Server location: https://rocket.theninja.life
Payload: N/A
Response:
{
"Barge": {
"Position": {
"X": 887,
"Y": -50
}
},
"Rocket": {
"Position": {
"X": 81,
"Y": -1.0000000000020464
},
"Angle": 90,
"VernierThruster": 0,
"Thrust": 0,
"Speed": 120
},
"Message": "You missed the barge!"
}
Payload: N/A
Response: N/A
Payload:
{
"Thrust": 10
}
Response: N/A
Payload:
{
"VernierThrust": 10
}
Response: N/A
Payload:
{
"Barge": {
"Position": {
"X": 887,
"Y": -50
}
},
"Rocket": {
"Position": {
"X": 81,
"Y": -1.0000000000020464
},
"Angle": 90,
"VernierThruster": 0,
"Thrust": 0,
"Speed": 120
},
"Message": "You missed the barge!"
}
-
Fix any errors
-
Build a control panel -> Start instance -> Set username -> Set thrust -> Set vernier thrust
-
Build a metrics panel -> Show rocket position -> Show rocket velocity -> Show rocket angle -> Show barge position -> Show remaining distance to target