Live data from Hacker News

Show HN: Spaceship.codes – a game for programmers

spaceship.codes

1–2 of 2 posts

Re: Show HN: Spaceship.codes – a game for programmers

#2
My solution to the Obstacle level is here if anyone wants to copy & paste to see it in action: https://gist.github.com/rfotino/39b104fd61bc6c4d8cc24282c1f1...

It uses a servo(angle) function to turn to a specified angle and a state machine to string together turns and thrusts.