I will be posting each of my project on here one after another. After starting project one I will not post project 2 until project 1 is done and completed.
Now, I am still not sure what I want to do here with project 1. I will either make this a gaming network all in its own or make it my code network to put up my projects. So here is the project code play with it check it out if you are new. My question is I would like this to be an online network is there anyway I can get like free hosting somewhere just to test it out? Also would I have to make special coding since it would be going online. I want it were you can login to a network with this console.
Code:// Game Menu 1.0 // Created by Donovan Simon #include <iostream> #include <string> using namespace std; int main() { string username; string password; string exit; string networkStatus; int playersinNetwork; playersinNetwork = 0; networkStatus = "Network Status: Online\n"; do { cout << " Game Network 1.0\n\n\n"; cout << "Welcome to 'The Game Network!'. This network was created\n"; cout << "so the user could choose from a selected list of games,\n"; cout << "then play the game after logging into the network. You\n"; cout << "must be logged into the network before playing the game.\n\n\n\n"; cout << "Please login to the Game Network.\n\n"; cout << "Username: "; cin >> username; cout << "\n"; cout << "Password: "; cin >> password; cout << "\n"; if (username == "DarkAges" && password == "123") { cout << "Succesful Login. You may now choose from the list of games to play.\n\n"; cout << "People in the network: " << ++ playersinNetwork << endl; cout << networkStatus << endl; system("PAUSE"); system("CLS"); break; } if (username != "DarkAges" && password != "123") { cout << "The username and password you entered is incorrect!\n\n"; system("PAUSE"); system("CLS"); break; } if (username != "DarkAges") { cout << "The username you have entered is incorrect!\n"; system("PAUSE"); system("CLS"); break; } if (password != "123") { cout << "The password you have entered is incorrect!\n"; system("PAUSE"); system("CLS"); break; } }while (true); return 0; }


LinkBack URL
About LinkBacks








Reply With Quote



But hey doesn't hurt to try new things


Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum