Skip to content

Instantly share code, notes, and snippets.

View VickyMarkley's full-sized avatar

Vicky Markley VickyMarkley

View GitHub Profile
#include <iostream>
#include <vector>
using namespace std;
// --- MODULE A: WIRE LOGIC (Vectors & Randomness) ---
bool wireModule() {
vector<string> wires = {"Red", "Blue", "Green", "Yellow"};
srand(time(0));
int explosiveIndex = rand() % 4;
int choice;