My version.

I adjusted the commands so that the dragon handles like a starship; you give it a heading, z-angle, and speed and tell it to fly (see Readme for details). It moves and has a new position. I think the math is right.

Future improvements: Create a global map for the dragon to fly around. Add commands for attacking. Add checks for terrain, etc.