Jump to content

Finish the Code!

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
Donovan

Donovan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 798 posts
This is a pretty fun game. The last forum I was with used to have small games like these but people would play a game called "Finish the Code!" There are three ways to play.

Rules:


1 •

Only user your own code. You may not have help from a friend or get help from people on the forum. This game is sort of a competition to see how far the code can get.

2 •

You may not finish the whole code. You must wait for at least 5 - 10 people to add bits and pieces to the code. (Min 20 lines max - 50 lines) the code may not be completed until it reaches a minimum of 200 lines.

3 •

Please only participate if you know what you are doing. If the code gets down to the point where you do not understand you automatically lose. That is the point of the game, to test you limits.

4 •

Lastly, do not make fun or insult a person on there code. Doing so will result in -rep from me. Have fun!



Project:

In this game we are going to design a small chat. Just a conversation back and fourth between two people. Then from there the program will sometimes prompt the user for input. Then, after prompting the user for input the user must then converse with the (AI BOT) So, basically the program starts out easy for some of the new c++ users to help out then it gradually gets harder and harder. So, that is this games project. This game doesn't always have an end. I have seen games where people work on it and work on it and it gets anywhere from 500 - 800 lines of code.
Posted Image
+Friend Me | My Graphics | Forum Rules | Help Forum | Forum FAQ

#2
MathX

MathX

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,001 posts
# include <iostream>
:p

Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!


#3
Termana

Termana

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,057 posts
ERRRNNNNN, MathXpert loses :P This isn't valid C++:
# include <iostream>
lol. anyway.
#include <iostream>
int main()
{
return 0;
}

Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!


#4
Donovan

Donovan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 798 posts
Alright, I will provide us with a boarder so we can actually start on something -.- This is a very basic piece of code so maybe some of you new guys can add on to it:)

// Finish the Code

#include <iostream>
#include <string>
using namespace std;

int main()
{
    int age;
    string name;
    string question;
    string response;
    
    cout << "                             Welcome to the Chat!\n\n";
    cout << "--------------------------------------------------------------------------------";
    cout << " Project Name: Finish the Code                     Max Lines: 1000\n";                 
    cout << " Coders: CodeCall Comunity                         Min Lines: 500\n";            
    cout << "--------------------------------------------------------------------------------\n\n\n";
    cout << "How old are you?: ";
    cin >> age;
    system("CLS");
    cout << "                             Welcome to the Chat!\n\n";
    cout << "--------------------------------------------------------------------------------";
    cout << " Project Name: Finish the Code                     Max Lines: 1000\n";                 
    cout << " Coders: CodeCall Comunity                         Min Lines: 500\n";            
    cout << "--------------------------------------------------------------------------------\n\n\n";
    cout << "What is your name?: ";
    cin >> name;
    system("CLS");
    cout << "                             Welcome to the Chat!\n\n";
    cout << "--------------------------------------------------------------------------------";
    cout << " Project Name: Finish the Code                     Max Lines: 1000\n";                 
    cout << " Coders: CodeCall Comunity                         Min Lines: 500\n";            
    cout << "--------------------------------------------------------------------------------\n\n\n";
    cout << "Welcome to the AI chat. You may talk to the AI Bot by displaying a question\n";
    cout << "after the cheveron or >> symbol.\n\n";
    cout << ">> ";
    cin >> question;
    return 0;
    
}


Posted Image
+Friend Me | My Graphics | Forum Rules | Help Forum | Forum FAQ

#5
Donovan

Donovan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 798 posts
Is anyone going to participate in this?
Posted Image
+Friend Me | My Graphics | Forum Rules | Help Forum | Forum FAQ

#6
MathX

MathX

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,001 posts
I did my best. :p

Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!


#7
Donovan

Donovan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 798 posts
haha, I can see that:P

- 250th post MY FIRST HALF STAR!!!

150 to go till GURU:D
Posted Image
+Friend Me | My Graphics | Forum Rules | Help Forum | Forum FAQ