Added slotmachine

This commit is contained in:
2026-05-16 02:34:27 +02:00
commit 04a60f9890

20
slotmachine.cpp Normal file
View File

@@ -0,0 +1,20 @@
enum class MachineState {
Startup,
Ready,
PendigPayment,
Release,
Unlock,
Shutdown
}
// SIMULATING HARDWARE-REQUESTS
int main() {
MachineState state = MachineState.Startup;
while(true) {
state = MachineState.Ready;
std::string = std::cin << "Pick your slot" << std::endl;
}
return 0;
}