Game Challenge - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Game Challenge

I have to do this for the beginning of my program and I'm completely new. Please help me.

Your game should have a league of 8 teams. Have a simple menu of choices (add teams, delete
teams, run a season, run a road trip schedule).
2) At beginning of main.cpp - using comments, outline your program, listing what algorithms you used
and why you chose them

This is what I have so far:
//#include "stdafx.h"
#include
#include
#include

using namespace std;

//void game_result(string, string, int, int, double);

//Function Prototypes
int getAddTeamChoice();
int getDeleteTeamChoice();
int getRunSeasonChoice();
int getRunRoadtrip();
int getExit();
void display(string,string);


int main(void) {

int x=0;
int choice;

//string addTeam(x);
//string deleteTeam(x);

do
{

choice = addTeamChoice();

if(choice == 1)
{
addTeamChoice();
}

return 0;
}

int getDeleteTeamChoice()
{

int choice;
}

while(choice != 4) {
switch(choice) {
case 1:
printf("Choice was 1...
");
break;
case 2:
printf("Choice was 2...
");
break;
case 3:
printf("Choice was 3...
");
break;
default:
printf("Invalid choice...
");
break;
}
}
}









}








}
Sign In or Register to comment.