Game Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesGame Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old July 21st, 2006, 10:46 PM
fierydog fierydog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Location: Fort Worth
Posts: 243 fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 4 h 32 m 9 sec
Reputation Power: 13
Send a message via AIM to fierydog
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!!!!

Reply With Quote
  #2  
Old July 22nd, 2006, 03:53 AM
Viper_SB's Avatar
Viper_SB Viper_SB is offline
Psycho Canadian
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jan 2001
Location: Canada
Posts: 4,739 Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 4 Weeks 6 h 25 m 16 sec
Reputation Power: 384
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!

Reply With Quote
  #3  
Old July 22nd, 2006, 10:06 AM
fierydog fierydog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Location: Fort Worth
Posts: 243 fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 4 h 32 m 9 sec
Reputation Power: 13
Send a message via AIM to 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.

Reply With Quote
  #4  
Old July 22nd, 2006, 12:22 PM
Viper_SB's Avatar
Viper_SB Viper_SB is offline
Psycho Canadian
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jan 2001
Location: Canada
Posts: 4,739 Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level)Viper_SB User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 4 Weeks 6 h 25 m 16 sec
Reputation Power: 384
Quote:
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
File Type: zip RussianRoulete Source.zip (1.5 KB, 201 views)

Reply With Quote
  #5  
Old July 22nd, 2006, 12:28 PM
fierydog fierydog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Location: Fort Worth
Posts: 243 fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 4 h 32 m 9 sec
Reputation Power: 13
Send a message via AIM to fierydog
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.

Reply With Quote
  #6  
Old July 23rd, 2006, 09:32 AM
zoot_suit_brian zoot_suit_brian is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 7 zoot_suit_brian User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 39 m
Reputation Power: 0
Quote:
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.

Reply With Quote
  #7  
Old July 23rd, 2006, 02:10 PM
fierydog fierydog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Location: Fort Worth
Posts: 243 fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level)fierydog User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 4 h 32 m 9 sec
Reputation Power: 13
Send a message via AIM to fierydog
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesGame Development > Russian Roulette (Free .exe and Source)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway