Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.
Moderator: Coders of Rage
BlitzCoder
Chaos Rift Newbie
Posts: 12 Joined: Fri Jul 30, 2010 10:20 pm
Favorite Gaming Platforms: PC/Xbox 360
Programming Language of Choice: C++
Location: Maine, USA
Contact:
Post
by BlitzCoder » Fri Jul 30, 2010 11:40 pm
It seems this forum does not have a forum for "Fun with coding", so if this should be moved, please do so...
Anyways:
I have done this on a few other coding boards to mixed results, thought maybe it would be fun to try here. Here's how it works, every poster adds one line of code OR deletes one line of code. It has to make sense, but it does not have to compile until the thread is done (whenever we get bored). I'll start us off with a bit. You can also add onto an existing line. Please state what you are changing when you post
An example of an old game of this:
http://www.cplusplus.com/forum/lounge/12972/
Rules/Guidelines:
Try to keep the code on a beginner-intermediate level. It would be nice to have (almost) everybody be able to contribute.
Please do NOT write a whole program in one line (I had that pulled on another forum -.-), Each line is meant to do one thing. This is meant to be a group effort.
Do not post until somebody else has posted (No double posting/edits)
If this gets far enough that it needs multiple files, and we still want to continue, you may post a file template for it with stated intent (IE, a .h with just basic formatting and a note saying how you would like it to go)
Code: Select all
#include <iostream>
int main()
{
return 0;
}
If at first you don't succeed, Skydiving may not be the thing for you...
zeid
Chaos Rift Junior
Posts: 201 Joined: Fri Apr 24, 2009 11:58 pm
Post
by zeid » Sat Jul 31, 2010 1:13 am
Code: Select all
#include <iostream>
int main()
{
bool exit=false;
return 0;
}
xiphirx
Chaos Rift Junior
Posts: 324 Joined: Mon Mar 22, 2010 3:15 pm
Current Project: ******** (Unkown for the time being)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Contact:
Post
by xiphirx » Sat Jul 31, 2010 1:27 am
Code: Select all
#include <iostream>
int main()
{
bool exit=false;
while (exit == false)
{
}
return 0;
}
dandymcgee
ES Beta Backer
Posts: 4709 Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:
Post
by dandymcgee » Sat Jul 31, 2010 12:26 pm
Code: Select all
#include <iostream>
int main()
{
bool exit=false;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
}
return 0;
}
Falco Girgis wrote: It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
A Person
Chaos Rift Newbie
Posts: 10 Joined: Mon Jul 12, 2010 3:12 am
Current Project: iPhone 2D Game
Favorite Gaming Platforms: Wii, NDS, iPhone, 360
Programming Language of Choice: Objective-C
Location: Calgary, AB
Post
by A Person » Sat Jul 31, 2010 1:17 pm
Code: Select all
#include <iostream>
int main()
{
bool exit=false;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
int i = 100;
}
return 0;
}
GroundUpEngine
Chaos Rift Devotee
Posts: 835 Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK
Post
by GroundUpEngine » Sat Jul 31, 2010 1:32 pm
Code: Select all
#include <iostream>
int main()
{
bool exit=false;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
int i = 100;
std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl;
}
return 0;
}
A Person
Chaos Rift Newbie
Posts: 10 Joined: Mon Jul 12, 2010 3:12 am
Current Project: iPhone 2D Game
Favorite Gaming Platforms: Wii, NDS, iPhone, 360
Programming Language of Choice: Objective-C
Location: Calgary, AB
Post
by A Person » Sat Jul 31, 2010 7:14 pm
Code: Select all
#include <iostream>
int main()
{
bool exit=false;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
int i = 100;
std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl;
if(i <= 0) {
exit = true;
}
}
return 0;
}
JaxDragon
Chaos Rift Junior
Posts: 395 Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC
Post
by JaxDragon » Sat Jul 31, 2010 7:49 pm
Code: Select all
#include <iostream>
int main()
{
bool exit=false;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
int i = 100;
std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl;
char answer;
if(i <= 0) {
exit = true;
}
}
return 0;
}
eatcomics
ES Beta Backer
Posts: 2528 Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois
Post
by eatcomics » Sat Jul 31, 2010 9:03 pm
Code: Select all
#include <iostream>
int main()
{
bool exit=false;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
int i = 100;
std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl;
char answer;
if(i <= 0) {
exit = true;
}
i-=1;
}
return 0;
}
JaxDragon
Chaos Rift Junior
Posts: 395 Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC
Post
by JaxDragon » Sat Jul 31, 2010 10:38 pm
Code: Select all
#include <iostream>
int main()
{
bool exit=false;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
int i = 100;
std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl;
char answer;
std::cin >> answer;
if(i <= 0) {
exit = true;
}
i-=1;
}
return 0;
}
dandymcgee
ES Beta Backer
Posts: 4709 Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:
Post
by dandymcgee » Sun Aug 01, 2010 11:22 am
Code: Select all
#include <iostream>
#include <ctype.h> //tolower() anyone? ;)
int main()
{
bool exit=false;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
int i = 100;
std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl;
char answer;
std::cin >> answer;
if(i <= 0) {
exit = true;
}
i-=1;
}
return 0;
}
Falco Girgis wrote: It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
eatcomics
ES Beta Backer
Posts: 2528 Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois
Post
by eatcomics » Sun Aug 01, 2010 2:47 pm
Code: Select all
#include <iostream>
#include <ctype.h> //tolower() anyone? ;) lol hellz yeah
int main()
{
bool exit=false;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
int i = 100;
std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl;
char answer;
std::cin >> answer;
if(i <= 0) {
exit = true;
}
i-=1;
}
return 0;
}
A Person
Chaos Rift Newbie
Posts: 10 Joined: Mon Jul 12, 2010 3:12 am
Current Project: iPhone 2D Game
Favorite Gaming Platforms: Wii, NDS, iPhone, 360
Programming Language of Choice: Objective-C
Location: Calgary, AB
Post
by A Person » Sun Aug 01, 2010 5:57 pm
#include <iostream>
#include <ctype.h> //tolower() anyone?
lol hellz yeah
int main()
{
bool exit=false;
int i = 100;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl;
char answer;
std::cin >> answer;
if(i <= 0) {
exit = true;
}
i-=1;
}
return 0;
}
xiphirx
Chaos Rift Junior
Posts: 324 Joined: Mon Mar 22, 2010 3:15 pm
Current Project: ******** (Unkown for the time being)
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Contact:
Post
by xiphirx » Sun Aug 01, 2010 8:18 pm
Code: Select all
#include <iostream>
#include <ctype.h> //tolower() anyone? ;) lol hellz yeah
int main()
{
bool exit=false;
int i = 100;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl;
char answer;
std::cin >> answer;
if (answer == 'n' || answer == 'N' || answer != 'y' || answer != 'Y')
{
}
if(i <= 0) {
exit = true;
}
i-=1;
}
return 0;
}
ultimatedragoon69
Chaos Rift Regular
Posts: 122 Joined: Tue Oct 28, 2008 1:57 pm
Current Project: Pangea's quest (text ~tile~ based rpg)
Favorite Gaming Platforms: Dreamcast, PC, playstation 1, Virtual Boy, Snes
Programming Language of Choice: c++
Contact:
Post
by ultimatedragoon69 » Sun Aug 01, 2010 10:14 pm
Code: Select all
#include <iostream>
#include <ctype.h> //tolower() anyone? ;) lol hellz yeah
int main()
{
bool exit=false;
int i = 100;
while (exit == false)
{
std::cout << "Welcome to the Elysian Shadows Word Game!\n\n";
std::cout << "Let's go dawg! Ready? (Enter Y or N)" << std::endl;
char answer;
std::cin >> answer;
if (answer == 'n' || answer == 'N' || answer != 'y' || answer != 'Y')
{
}
else
{
}
if(i <= 0) {
exit = true;
}
i-=1;
}
return 0;
}