Helpful Information
 
 
Category: Game Development
Russian Roulette (Free .exe and Source)

Ok, well I made a small 150-200 line game (in c++) with 4 lvls of russian roulette. I programmed it just to make sure I know random numbers hehe. I thought this forums needs posts so I will try to post all the games / programs I develop here for forum growth. Links to .exe and source.
Roulette.exe (http://www.freefilehosting.net/?id=rdn0kKjZ8g==) CAITION: EXTREMELY BIG FILE 20 Terabytes! (JK!!!)

Source.cpp (http://www.freefilehosting.net/?id=rdn0kKjY9A==)

PS: There might be errors because I barely tested well enough for anything. Source code has (funny?) copyright. Only constructive criticism!!!!

Cool, you should maybe post (the code at least) as an attachment on the forum. (unless you can't?) But yes please do post stuff like this, is very cool to check out and will help the forum to grow.

Oh I didn't know I could. I could post the source as a different extension besides cpp. Just rename it as text then put it as an attachment. Unless it does allow cpp.

Oh I didn't know I could. I could post the source as a different extension besides cpp. Just rename it as text then put it as an attachment. Unless it does allow cpp.

Testing attachment as a zip

Make them Zip's and then you can upload them

Ahh great idea! :) I just made another game. Its pretty cool so I'll create a new thread and zip it.
Its an International soccer / futbol sim.

Ok, well I made a small 150-200 line game (in c++) with 4 lvls of russian roulette. I programmed it just to make sure I know random numbers hehe. I thought this forums needs posts so I will try to post all the games / programs I develop here for forum growth. Links to .exe and source.
Roulette.exe (http://www.freefilehosting.net/?id=rdn0kKjZ8g==) CAITION: EXTREMELY BIG FILE 20 Terabytes! (JK!!!)

Source.cpp (http://www.freefilehosting.net/?id=rdn0kKjY9A==)

PS: There might be errors because I barely tested well enough for anything. Source code has (funny?) copyright. Only constructive criticism!!!!


cout << "Welcome to Russian Roulette! See how long you can live without killing yourself!" << endl;
pause();
menu:
cout << "1-Play" << endl;
cout << "2-Exit" << endl;
cout << "Enter a number a letter will start a forever loop so don't be stupid." << endl;
short menu;
cin >> menu;
switch (menu) {

interesting approach for exception handling, just warn the user not to be stupid, rather than attempt to catch exceptions.

I am not there yet! I haven't started to learn about exceptions yet. And yes Russian Roulette was more of an experiment and I just posted it for forum growth.

Hello :)I would like to drop by and say how are you?. I have been watching this place for a long time now, but haven't made a contribution.I am born in Algiers and enjoy television and coffee. I hope to get a lot out of this forum . Thank you for having me :)Marc










privacy (GDPR)