Making a basic adventure gamne. Code below:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
string win;
string room;
win = "n";
room = "1";
string inventory [10] = {"fist"};
while (win != "y"){
cout << "The game begins!";
win = "y";
}
}