Is it game over for Nintendo?

Nintendo's profits are falling in the face of competition from smartphones and rival consoles. What can it do to save itself?