View Single Post
  #14  
Old 10-16-2006, 07:08 PM
jjshabado jjshabado is offline
Senior Member
 
Join Date: Jul 2006
Posts: 1,879
Default Re: Programming card games

[ QUOTE ]

OP expressed an interest in application development.


[/ QUOTE ]

OP:
[ QUOTE ]
What I basically want is creating a site where people can play this game vs each other.

[/ QUOTE ]

I take that to mean he wants to do web development. But any app he creates will not need to worry about squeezing every drop of performance out of the computer and so Java is probably a better choice (Given, that ease of programming will be one of the biggest things to consider, and he has no experience in either language).

[ QUOTE ]

I'm not a developer by trade or hobby (at this time)

[/ QUOTE ]

I am.

[ QUOTE ]

But when I first became interested in CS I looked at some Basic code:

10 INPUT "What is your name: "; U$
20 PRINT "Hello "; U$
30 REM
40 INPUT "How many stars do you want: "; N
50 S$ = ""

(kinda boring)


Then I found some sample 'C' code

#include <iostream.h>
int main()
{
int x, y;
cout << "Enter two integers: ";
cin >> x >> y;

if ( x > y )
{
int temp = x;
x = y;
y = temp;
}

cout << x << " " << y << endl;

return 0;
}


When I saw the 'C' code I thought to myself YEAH, I wanna learn how to do THAT.

That goal gave me the motivation to get through the Basic and other prerequisites to learn C.

[/ QUOTE ]

I think axes look cooler than hammers. But when I want to drive a nail in I use the hammer. Lots of people also find Java code "cooler" than C++. Its pretty subjective.

[ QUOTE ]

Was C the best language for me to learn? I'm not really sure but I had fun learning and coding it.

[/ QUOTE ]

Thats cool. I like C as well.

[ QUOTE ]

OP should see all the possibilities. Also I'll say this.


[/ QUOTE ]

Agreed.

[ QUOTE ]

Internet site Pokerroom has a Java client and they have a download client.

Play both then tell me honestly which client you like playing on more.

[/ QUOTE ]

They could develop their "download" client in Java and it could look just as good. Now, for a major company who plans on making a lot of money, has professional developers, it probably makes more sense to use C++ over Java for that app. I don't think its a big advantage but its what I would choose if I were them.

OP doesn't have to worry about every last little bit of performance, and doesn't have experience programming, thats what makes the difference.
Reply With Quote