#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    245
    Rep Power
    19

    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 CAITION: EXTREMELY BIG FILE 20 Terabytes! (JK!!!)

    Source.cpp

    PS: There might be errors because I barely tested well enough for anything. Source code has (funny?) copyright. Only constructive criticism!!!!
  2. #2
  3. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    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.

    Comments on this post

    • displeaser agrees
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    245
    Rep Power
    19
    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.
  6. #4
  7. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    Originally Posted by fierydog
    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
    Attached Files
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    245
    Rep Power
    19
    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.
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2006
    Posts
    7
    Rep Power
    0
    Originally Posted by fierydog
    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 CAITION: EXTREMELY BIG FILE 20 Terabytes! (JK!!!)

    Source.cpp

    PS: There might be errors because I barely tested well enough for anything. Source code has (funny?) copyright. Only constructive criticism!!!!
    Code:
        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.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    245
    Rep Power
    19
    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.
  14. #8
  15. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2009
    Location
    Algeria
    Posts
    1
    Rep Power
    0

    Hi Everyone I am new here.


    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

IMN logo majestic logo threadwatch logo seochat tools logo