Spider-Man: Friend or Foe is a 2007 action-adventure beat 'em up video game based on the Marvel Comics superhero Spider-Man. The game borrows characters and designs from Sam Raimi's "Spider-Man" trilogy, with a plot that is non-canon to the films. The game was released for Microsoft Windows, Nintendo DS, PlayStation 2, Wii, Xbox 360, and PlayStation Portable in October 2007. The game was also going to be released on the PlayStation 3, but was canceled.