Recreating the demo is also prohibited. Just because it is shorter doesn't make it any less copyrighted than the full game. Using copyrighted characters for a fan game could also be problematic, but maybe doable.