Hardcore may strain a friendship when one of you die. Better single-player. There are other ways to up the stakes with a friend, e.g. all of these:
1. Hard difficulty
2. No armor or shields
3. Don't stockpile any ore or equipment beyond what you want to carry, so when you respawn you have literally zero iron, diamonds, tools