Sega

Sega (also referred to as SEGA) is a Japanese video game company. Its mascot is Sonic the Hedgehog, having replaced Alex Kidd in 1991. In the past, Sega used to be the rival company of Nintendo. As such, both engaged in frequent bouts of competition.

Rivalry
An early mockery toward Nintendo happened in Alex Kidd's final game, Alex Kidd in Shinobi World, where the first boss was originally going to be named Mari-Oh, a parody of Mario. However, it was changed to Kabuto. There are also characters called the "Marxio Brothers" in a British comic called Sonic the Comic.

To counter these mockeries of Mario, Rare had Sonic make a "cameo appearance" in Donkey Kong Country 2: Diddy's Kong Quest. His shoes, as well as fellow platforming mascot rival, Earthworm Jim's blaster, are seen next to a trash can during Cranky Kong's contest labeled "No Hopers".

Another possible mockery is the inclusion of a blue and quick hedgehog (Sonic's qualities) enemy called Harry Hedgehog in the game Super Mario World 2: Yoshi's Island.

Move to software developer
Nintendo and Sonic rivaled for about a decade,eventually Sega closed Sega Dreamcast in 2001 for America,Canada discontinued in 2002, and in Japan all the way to 2007,this of course led to Sega becoming a third-party developer in 2002.

Sonic Adventure 2: Battle, a port of Sonic Adventure 2 for the Dreamcast, marked the first appearance of a Sega game on a Nintendo console, specifically the Nintendo GameCube. With that, the feud ended, and the two companies began collaborating. Their first effort resulted in F-Zero AX/GX. The two companies later teamed up to create a crossover game featuring both Mario and Sonic, Mario & Sonic at the Olympic Games, which generated the Mario & Sonic series. Sonic also appeared as a playable character in the Super Smash Bros. series, being the only third party character to appear twice in the series, with fellow Sega character Bayonetta appearing in Super Smash Bros. for Nintendo 3DS / Wii U. Aside from Olympic Games and Super Smash Bros., Sonic has made cameo appearances in the Mario universe. By using a Sonic amiibo, players can unlock an outfit based on Sonic in Yoshi's Woolly World, Mario Kart 8, and Super Mario Maker. Yoshi's Island Zone is a downloadable level in the Wii U version of Sonic Lost World which features Sonic in Yoshi's Island.

As a third party developer, Sega currently makes games for variety of devices, ranging from video game consoles and handhelds to smartphones.

Mario games developed by Sega

 * Canceled Donkey Kong parking attendant arcade game
 * Mario & Sonic at the Olympic Games - Wii, 2007; Nintendo DS, 2008
 * Mario & Sonic at the Olympic Winter Games - Wii, 2009; Nintendo DS, 2009
 * Mario & Sonic at the London 2012 Olympic Games — Wii, 2011; Nintendo 3DS, 2012
 * Mario & Sonic at the Sochi 2014 Olympic Winter Games - Wii U, 2013
 * Mario & Sonic at the Rio 2016 Olympic Games - Wii U, 2016; Nintendo 3DS, 2016

Mario games published by Sega

 * Mario & Sonic at the Olympic Games (in North America and Europe only)
 * Mario & Sonic at the Olympic Winter Games (in North America and Europe only)
 * Mario & Sonic at the London 2012 Olympic Games (in North America and Europe only)
 * Luigi's Mansion Arcade