• Forum
  • Lounge
  • its devonrevenge's birthday we had bette

 
its devonrevenge's birthday we had better code him something good or we are worthless people

Pages: 123
closed account (Dy7SLyTq)
there was talk of a game called Devon's Revenge
ah yes, my suggestion

For some reason the name reminds of that old atari game called custer's revenge i believe (i wouldnt look that up )
Last edited on
Revenge on the world because he didn't get cake.
YES :D

EDIT: I looked up Devon's revenge and Custers revenge, one is gay erotica novel the other is native american girl rape game :/
Last edited on
closed account (Dy7SLyTq)
well you have to pick one of those two devon
Why not just combine the two?
Its my birthday you have to surprise me .
Last edited on
On the 17th I'll surprise you by doing the same thing I do everyday. Absolutely nothing.
BHXSpecter wrote:
On the 17th I'll surprise you by doing the same thing I do everyday. Absolutely nothing.


the secret to no success.
You had better be working on it.
Alright. Here is your birthday gift.
1
2
3
4
int main()
{
      return 0;
}


There.
closed account (N36fSL3A)
Damn, BHX why didn't you do this?
1
2
3
4
Present* present()
{
    return NULL;
}
Last edited on
closed account (18hRX9L8)
Devon try this Tic Tac Toe game (coded in Python (Tk)).
There is currently one way to beat it (working on that).

Link: http://usandfriends.x10.mx/TicTacToePU.zip
(Run ~HOME/Production Unit/Tkinter.exe)
Last edited on
1
2
3
4
5
6
7
8
9
10
11
if (member_of_cplusplus.present == true)
{
    allowed_life[next_member] = member_of_cplusplus.name;
    nextmember++;
}

else
{
    death_list[next_member] = member_of_cplusplus.name;
    nextmember++;
}
Hate to call you out on this devon but isn't
member_of_cplusplus.present == true

a bit redundant?
closed account (Dy7SLyTq)
no because the member could be off at testing. it should be in a while loop
Lumpkin wrote:
Damn, BHX why didn't you do this?

Because that would have took more effort to think of than I had cared to put into it.

@DTSCode
I think he means, if you can check to see it the value is true, you should be able to just say if(member_of_cplusplus.present){}else{} because if present is false then it would fail and run the else code block.


1
2
3
4
5
6
7
8
if(true)
{
      // run if condition is true
}
else
{
      // run if condition is false
}

Doing a while loop would make it a little of a pain as you would have to enter and exit it per member. If a member isn't present the while loop would exit, but could be only an element or two into the member list, a while loop wouldn't be the right choice in this example.
Last edited on by closed account z6A9GNh0
closed account (Dy7SLyTq)
but then it would only test one member
closed account (N36fSL3A)
Isn't that the point?
DTSCode wrote:
but then it would only test one member

You could put the if/else block in a while loop. Using your method of a while loop would only test up until it ran into a member that wasn't here. For example, if Albatross, Disch, and you were the first three in the list and Albatross didn't bring a present it would evaluate to false and not bother reading Disch or you. So you would have to make a vector to hold the list of members. Then just an example (not actual code).
1
2
3
4
5
6
vector<string> list;
while(!list.end())
{
    if(...)
    esle{....}
}

Just an example, so I don't know if it would work
Pages: 123