If you think you might continue on to study for a PhD someday, you should write the thesis. However, if you believe the master's degree will be your final degree, then a capstone project will be a good choice.