Today I'm going to update my progress on WEP Cracking: The Game. Unfortunately, life and learning C++ has gotten in the way, so I haven't made much progress on the game. Despite this, there has been at least a little progress.
First, I'll explain the progress I've made. Then, I'll post my source code so far.
So far I have the beginning output that explains what the game is and gives the player its first instructions. After receiving that instruction, the player is asked to "download" a copy of Backtrack Linux. If they type "download" correctly, a download is simulated. After that, the player is tasked with burning the copy of Backtrack Linux and inserting the burned CD. The simulation for the first task runs at the same speed as the download, but the disc insertion simulation is faster.
After that, the last command of booting the Live CD is outputted. Unfortunately, that's only as far as I have gone. I also only have commands for successful execution of the instructions, not for unsuccessful executions.
It's still a work in progress, but I plan on working on the game this week and updating on the progress here each day this week.
Source Code:
#include <iostream>#include <ctime>#include <string>#include <windows.h>
using namespace std;
int main(){string cInstall;cout << "Welcome to WEP Cracking: The Game. The goal of WEP Cracking: The Game is to teach computer users how to test the strength of their network security. Playing this game from start to finish will give you all of the information you need to attempt to crack the password on your own router." << endl;cout << "Let's begin" << endl;cout << "First, download a copy of BackTrack Linux by typing DOWNLOAD" <<endl;getline (cin, cInstall);cin >> cInstall;if((cInstall == "download") || (cInstall == "DOWNLOAD") || (cInstall == "Download")){cout << "Beginning download" << endl;cout << "1 2 3 4 5" << endl;Sleep(150);cout << "6 7 8 9 10" << endl;Sleep(150);cout << "11 12 13 14 15" << endl;Sleep(150);cout << "16 17 18 19 20" << endl;Sleep(150);cout << "21 22 23 24 25" << endl;Sleep(150);cout << "26 27 28 29 30" << endl;Sleep(150);cout << "31 32 33 34 35" << endl;Sleep(150);cout << "36 37 38 39 40" << endl;Sleep(150);cout << "41 42 43 44 45" << endl;Sleep(150);cout << "46 47 48 49 50" << endl;Sleep(150);cout << "51 52 53 54 55" << endl;Sleep(150);cout << "56 57 58 59 60" << endl;Sleep(150);cout << "61 62 63 64 65" << endl;Sleep(150);cout << "66 67 68 69 70" << endl;Sleep(150);cout << "71 72 73 74 75" << endl;Sleep(150);cout << "76 77 78 79 80" << endl;Sleep(150);cout << "81 82 83 84 85" << endl;Sleep(150);cout << "86 87 88 89 90" << endl;Sleep(150);cout << "91 92 93 94 95" << endl;Sleep(150);cout << "96 97 98 99" << endl;Sleep(150);cout << "100%" << endl;Sleep(150);cout << "Download complete." << endl;cout << "Next, we have to burn our BackTrack Linux ISO to a disc." << endl;Sleep(100);cout << "Type BURN to burn a disc" << endl;string sBurn;cin >> sBurn;if((sBurn == "burn") || (sBurn == "BURN") || (sBurn == "Burn")){cout << "Beginning disc burn" << endl;cout << "1 2 3 4 5" << endl;Sleep(150);cout << "6 7 8 9 10" << endl;Sleep(150);cout << "11 12 13 14 15" << endl;Sleep(150);cout << "16 17 18 19 20" << endl;Sleep(150);cout << "21 22 23 24 25" << endl;Sleep(150);cout << "26 27 28 29 30" << endl;Sleep(150);cout << "31 32 33 34 35" << endl;Sleep(150);cout << "36 37 38 39 40" << endl;Sleep(150);cout << "41 42 43 44 45" << endl;Sleep(150);cout << "46 47 48 49 50" << endl;Sleep(150);cout << "51 52 53 54 55" << endl;Sleep(150);cout << "56 57 58 59 60" << endl;Sleep(150);cout << "61 62 63 64 65" << endl;Sleep(150);cout << "66 67 68 69 70" << endl;Sleep(150);cout << "71 72 73 74 75" << endl;Sleep(150);cout << "76 77 78 79 80" << endl;Sleep(150);cout << "81 82 83 84 85" << endl;Sleep(150);cout << "86 87 88 89 90" << endl;Sleep(150);cout << "91 92 93 94 95" << endl;Sleep(150);cout << "96 97 98 99" << endl;Sleep(150);cout << "100%" << endl;Sleep(150);cout << "Burn complete." << endl;Sleep(350);cout << "Disc being inserted" << endl;cout << "1 2 3 4 5" << endl;Sleep(50);cout << "6 7 8 9 10" << endl;Sleep(50);cout << "11 12 13 14 15" << endl;Sleep(50);cout << "16 17 18 19 20" << endl;Sleep(50);cout << "21 22 23 24 25" << endl;Sleep(50);cout << "26 27 28 29 30" << endl;Sleep(50);cout << "31 32 33 34 35" << endl;Sleep(50);cout << "36 37 38 39 40" << endl;Sleep(50);cout << "41 42 43 44 45" << endl;Sleep(50);cout << "46 47 48 49 50" << endl;Sleep(50);cout << "51 52 53 54 55" << endl;Sleep(50);cout << "56 57 58 59 60" << endl;Sleep(50);cout << "61 62 63 64 65" << endl;Sleep(50);cout << "66 67 68 69 70" << endl;Sleep(50);cout << "71 72 73 74 75" << endl;Sleep(50);cout << "76 77 78 79 80" << endl;Sleep(50);cout << "81 82 83 84 85" << endl;Sleep(50);cout << "86 87 88 89 90" << endl;Sleep(50);cout << "91 92 93 94 95" << endl;Sleep(50);cout << "96 97 98 99" << endl;Sleep(50);cout << "100%" << endl;Sleep(50);cout << "Download complete." << endl;Sleep(150);}else{cout << "Please type BURN" << endl;}system("pause");return 0;}else{cout << "Please type DOWNLOAD" << endl;}}