using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JamesBondMovie
{
public enum Villain
{
DrNo,
Goldfinger,
RosaKlebb,
EmilioLargo,
ErnstStavroBlofeld,
MrBig,
FranciscoScaramanga,
KarlStromberg,
HugoDrax,
GeneralOrlov,
FranzSanchez,
AlecTrevelyan
}
public enum Objective
{
NuclearMissles,
NuclearSub,
OrbitalWeaponsPlatform,
Satellite,
RadarArray,
PoisonGlobes,
SolexAgitator,
PoppyFields
}
class Program
{
static void Main(string[] args)
{
bool BondMoviesStillMakeMoney = true;
Random random = new Random();
while (BondMoviesStillMakeMoney)
{
//Generate a new plot!
int MovieVillain = random.Next(0, 12);
int MovieObjective = random.Next(0, 8);
while (FoundVillain((Villain)MovieVillain) == false)
{
ChaseVillain((Villain)MovieVillain);
}
if (random.Next(0, 2) == 1)
{
FallIntoTrap();
ListenToEnemyExplainEntirePlan();
Escape();
}
Destroy((Objective)MovieObjective);
if ((Villain)MovieVillain != Villain.ErnstStavroBlofeld)
{
Kill((Villain)MovieVillain);
}
}
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JamesBondMovie
{
public enum Villain
{
DrNo,
Goldfinger,
RosaKlebb,
EmilioLargo,
ErnstStavroBlofeld,
MrBig,
FranciscoScaramanga,
KarlStromberg,
HugoDrax,
GeneralOrlov,
FranzSanchez,
AlecTrevelyan
}
public enum Objective
{
NuclearMissles,
NuclearSub,
OrbitalWeaponsPlatform,
Satellite,
RadarArray,
PoisonGlobes,
SolexAgitator,
PoppyFields
}
class Program
{
static void Main(string[] args)
{
bool BondMoviesStillMakeMoney = true;
Random random = new Random();
while (BondMoviesStillMakeMoney)
{
//Generate a new plot!
int MovieVillain = random.Next(0, 12);
int MovieObjective = random.Next(0, 8);
while (FoundVillain((Villain)MovieVillain) == false)
{
ChaseVillain((Villain)MovieVillain);
}
if (random.Next(0, 2) == 1)
{
FallIntoTrap();
ListenToEnemyExplainEntirePlan();
Escape();
}
Destroy((Objective)MovieObjective);
if ((Villain)MovieVillain != Villain.ErnstStavroBlofeld)
{
Kill((Villain)MovieVillain);
}
}
}
}
}