The copter must reach the flag. You can hit walls without loosing health, but if you hit the mines you loose life. W - Upward. S - forward. A - Backward. D - Downward.