Forum
A place to discuss topics/games with other webDiplomacy players.
Page 236 of 1419
FirstPreviousNextLast
Xapi (194 D)
17 Mar 09 UTC
"The needs of the many outweigh the needs of the few"
I have something to say about this quote, and I'll do so a bit later.
101 replies
Open
diplomat1824 (0 DX)
19 Mar 09 UTC
Quick Question
Which is more powerful, convoying into an occupied territory or supporting move (to occupied territory) See below for example.
7 replies
Open
Abraxis (100 D)
20 Mar 09 UTC
Missing Player
In one of my games, we are missing a player, and the game is paused. I was hoping one of the Gamemasters could unpause it, or at least put the missing player in Social Disorder so we can replace him. Thanks in advance : )

Game URL: http://phpdiplomacy.net/board.php?gameID=8859
1 reply
Open
amonkeyperson (100 D)
20 Mar 09 UTC
20pts 16hrs Gunboat
Join this Gunboat game:
http://phpdiplomacy.net/board.php?gameID=9537
3 replies
Open
obiwanobiwan (248 D)
14 Mar 09 UTC
As Promised- Kirk V. Picard
You know the combatants, and the case for each.
I vote Picard by a hair (I'll say why later)
Go. :)
36 replies
Open
rghelase2001 (100 D)
19 Mar 09 UTC
Puppets or multi-account
Look England and Italy playing as Russia puppets . They conquer ans then Russia comes and takes the SC.

Shame to win like this :))))
10 replies
Open
Sicarius (673 D)
18 Mar 09 UTC
Gerald Celente
who is familiar with him?
thoughts on him?
I want to find out what people think about him first, then maybe move into his predictions for 2009 and beyond
17 replies
Open
ShadowSpy (169 D)
19 Mar 09 UTC
What happens to a game that does not start with enough players?
If there's only 5 or 6 players, I know Italy and some other country start as CD.

But what happens if there's like...only two players? Does the game wait for more, or does it become a east vs. west game?
4 replies
Open
Alqazar (403 D)
19 Mar 09 UTC
Players haven't logged in for 2 weeks
There's two players in this paused game that haven't logged in for over 2 weeks. Could we force a draw somehow?

http://phpdiplomacy.net/board.php?gameID=8516
4 replies
Open
Malleus (2719 D)
19 Mar 09 UTC
Yet another "Does this move work?" thread.
If a fleet is moving to the north coast of Spain, can Lyon/Western Med do a support move?
9 replies
Open
Korimyr the Rat (100 D)
19 Mar 09 UTC
New Game: Do Not Deny My Veins!
PPSC, 72 hours/phase, 10 point buy in.

The pants command me!
1 reply
Open
Korimyr the Rat (100 D)
19 Mar 09 UTC
So, how are points divvied up again?
Just won a game, http://www.phpdiplomacy.net/board.php?gameID=8371 , where the pot was 50 points. For winning with 18 SCs, I was awarded 18 points.

I thought you were supposed to get most of the points in the pot if you won.
3 replies
Open
frambooz (100 D)
19 Mar 09 UTC
Looking for 3 more players in the next 50 minutes!
http://phpdiplomacy.net/board.php?gameID=9518, 4 players currently @ 220 pot.
1 reply
Open
MadMarx (36299 D(G))
19 Mar 09 UTC
When does the League start up again?
I'm going to Spain for two weeks on April 1st, any chance the League (or even just my League) can start up after my return?
3 replies
Open
Arcturus (148 D)
19 Mar 09 UTC
Favorite Opening moves?
after reading the Italian-Austrian Early Game Conflict i got thinking about opening moves for the various powers. Anyone have any favorites?
1 reply
Open
Arcturus (148 D)
19 Mar 09 UTC
New 20pt 16hr games Gunboat and Normal
Gunboat http://www.phpdiplomacy.net/board.php?gameID=9537
Normal http://www.phpdiplomacy.net/board.php?gameID=9538
0 replies
Open
djbent (2572 D(S))
19 Mar 09 UTC
4 more players needed - WTA / 55 Ds
Join "Whiskey you're the devil"!
http://www.phpdiplomacy.net/board.php?gameID=9518
24 hr phases
0 replies
Open
thejoeman (100 D)
15 Mar 09 UTC
Computer code
does anybody here know how to write computer code, or where a good place to learn it is.
Chalks (488 D)
15 Mar 09 UTC
It highly depends on what you mean by "computer code". If you explain what you are looking to accomplish, it will be much easier to give you an answer.
WhiteSammy (100 D)
15 Mar 09 UTC
i now a little and...school or a book about it
thejoeman (100 D)
15 Mar 09 UTC
just programming a computer, maybe making a game
Katsarephat (100 D)
15 Mar 09 UTC
This thread on GameFAQs lists a few places you can get started. In addition, the forum it's on might be useful if you have specific questions later on.

http://www.gamefaqs.com/boards/genmessage.php?board=210&topic=36933365

Good luck and happy coding! It's fun.

Also, if you can, take classes or get some good books. Some of the latter should be mentioned in my link.
aum (602 D)
15 Mar 09 UTC
Anyone who calls it "computer code" better be in middle school or something...

If you are a novice with programming languages, I would recomment picking up an AP computer science prep book which will give you a crash course in Java, one of the more modern and forgiving computer languages out there. Their graphics package is also easy to implement if you want to write a game.
Frelock (636 D)
15 Mar 09 UTC
Writing a whole game? Ambitious. That's good.

I would also recommend Java as a programming language. It's relatively simple to learn, syntax-wise, and object-oriented is definitely the way to go. Everything you need for development is free, more or less, and Java can be used on a wide variety of systems.

I first was introduced to Java through Beginning Programming with Java for Dummies, a surprisingly helpful recourse. Two college classes later, and I can code decently, though nothing astounding.

Here's the very basic development environment I use: Textpad.
http://www.textpad.com/download/index.html
You can download a trial version for free here. It doesn't have any real debugging tools, but it can compile and run all your basic .java programs (note: you'll need to save it as .java, not as .txt or anything else). I've been "evaluating" my copy for about 2 years now. Probably should get around to paying them for it...

And remember, the only way to learn how to code is to code.
sceptic_ka (100 D)
15 Mar 09 UTC
I started programming with Perl when I was 15-16 years old. For beginners it has the major advantage over Java, C/ C++ and co that it doesn't have types (int, char*, double ...). That means you don't have to declare what your variables are before you use them.

Didactically though I think Haskel is the simplest language to teach programming strategies (like recursion, overloading) and data structures (stack, tree) with.

Although if you've got a project in mind, tell us about it in more detail perhaps I can point you to a more appropriate language.
figlesquidge (2131 D)
15 Mar 09 UTC
Well then, I'm going to rock the boat and suggest learning C straight off. If you do then you'll be able to pick up almost any programming language you want and understand it in minutes.
However, Java's also a very good choice. I think its quite useful to start with a language that requires typecasting, because otherwise you get into bad habits and it can be hard to change.

If you want to write something powerful and interesting soon, go for Java
If you can't do a course somewhere then try one of the Dummies Guides. Perl is probably easier than anything else and is certainly a good place to start, but the more complex the language, the more power you'll be able to wield with it. Plan on switching to C# or Java once you're comfortable with Perl.

Before you tackle a game you need to be able to understand programming techniques, otherwise the game will die in frustration and so too may you programming ambitions. Start simple and build up. Try this

1. Print out all the numbers from one to 100.
2. As 1. but with all of the even numbers on the left of the screen and all of the odd numbers on the right.
3. Print out all of the Prime Numbers from 1 to 1000.
4. As 3, but write primes and non-primes to different .txt files.
5. Ask the user to enter several numbers between 1 and 1000 and to enter -1 when she wants to stop. Then print out the highest, lowest and average of those numbers.

Seems simple doesn't it. Making a program cope with bad data is a key skill. Experienced programmers do this without thinking about it.

6. Use your program from 5. but enter -1 as the first number. What happened? Enter just one number, what was the result? Enter 2 numbers that are the same. Result? Enter 10 numbers the same. Result? Now enter some out of range values (say 0 or 1001 or 10000000001). What happens? Did you even test the input to 5. to see if it was in range in the first place? Just because you told the user to do something doesn't mean they'll do it. This is really lesson one - when it comes to user input, think paranoid.

That's enough for now.
alamothe (3367 D(B))
15 Mar 09 UTC
at school
thejoeman (100 D)
15 Mar 09 UTC
well, i am 14, and i read a book that sugested that everyone try writing computer code, and i like computers, so I thought i'd try it.
Draugnar (0 DX)
17 Mar 09 UTC
@sceptic_ka: You started with Perl? Man I feel old. My first language was BASIC on a DEC PDP 9 and an Apple II back in 1981 when I was 15. I do it for a living now: Java, C# (.NET), ASP, Perl, PHP, T-SQL, and others.
I'd recommend "C++ Demystified" as a great book for beginners
kestasjk (99 DMod(P))
17 Mar 09 UTC
Rather than choosing a language I'd choose a project or area that you're interested in. Sounds like that area is games, so I'd go with a basic game writing framework and get a book to go with it

Perhaps Delphi or something, and then start with Pong and move up through space invaders and pac-man and go from there (and don't be ambitious; it'll be a long time before you make anything fun)
Zapyx (100 D)
17 Mar 09 UTC
I'd go with Java.

Your school is almost sure to teach it at a basic level, and as squidge said, learning programming "grammer" is very important.

It's simple and easy to learn, so why don't you try it out?!
Draugnar (0 DX)
18 Mar 09 UTC
For games, get Microsoft XNA and do your porgramming in C#. They include several sample games with the free download and you can look through the code to get an even better understanding of how events and threading and the like work.
cstuart (151 D)
18 Mar 09 UTC
I actually have spent the last year learning to program in several different languages. I've concluded the following:

1) Scripting languages are only superficially easier. They avoid all the trouble that C/C++/Java requires for creating variables and data structures. That's good for simple stuff because you don't need the power of real data structures anyway. However, those same, more complex, data structures and systems that C/C++/Java possess become a real asset if you want to do anything very complex. (I know that's not the current script party line, but there's a reason almost EVERY major program is written in C/C++/Java.

2) There is another class of programming language called functional programming that includes languages like Erlang, OCaml, Haskell, ML, F#, etc... that are currently gaining popularity with people because they offer new ways to program that gets around problems being predicted for the future--the major problem being how do you coordinate more than 5000 or so processes at the same time within a program. However, that's a specialty problem that you really should wait to address after you learn the basics. The MAJOR PROBLEM with going the functional route is that, right now, these languages are completely lacking in building easy GUIs and learning the predominant paradigm at the moment, which is object oriented programming. (Yes, I know, OCaml does this, but nobody is really pushing OCaml and it's books suck--everybody is either going Haskell or Erlang).

Having said that, functional programming is cool, but it should be language #3 or so.

3) There are also the lisp dialects. Lisp is really cool and has some great books. It's a multiparadigm language, which means it does functional (i.e. Haskell, Erlang), procedural (i.e C), Object Oriented (C++, Java), and even has elements like scripting languages. The lisp you should do, if you do this, is PLT Scheme, which has a nice interface for programming and plenty of peripherals for GUI development, however, lisp should really be language #3 or #4 to learn, and as far as what you want to do, forget about it.

4) What you should learn is Java. It's very fast, has a great integraded development environment called Netbeans, a great GUI interface called Swing, and can build programs that work at the server level, command line level, desktop level, and even in your browser--the infamous applet. Java has an ENORMOUS body of good literature out there, including some books that seem to get awesome reviews on amazon for game programming.

In addition, there are lots of beginner, stepping stone environments at Java's sight for people who want to ease into programming, and who have no experience at all in doing so.

My suggestion is this. Go to Java's website at sun here:
http://java.sun.com/developer/technicalArticles/young_dev_learning_path/

and read about programming Java. Then, download the Java Development Environment that suits you and have fun. They even start you off programming simple games using Greenfoot, though I haven't actually used that myself.

Good luck. Programming is fun!
Draugnar (0 DX)
18 Mar 09 UTC
CStuart: A bigger reason C & C++ is the language of choice for system level programs is speed. These languages are compiled and linked into executables and don't require a runtime environment, like Java, C#/VB, and the scripting languages. C#/VB and Java compile into byte code but still require a run time of some sort, whether it be the JRE and the browser for Java or .Net/Internet Explorer for .Net apps and ActiveX components. Basic scripting languages (VBScript, JavaScript, JScript) are the slowest because they are interpretted from the readable code every time they are executed.

What you should know, though, is that the scripting languages have advanced to be OO capable and Javascript has an extensive library for calling web services to do AJAX on the web, something my browser based applications use to great effect.
cstuart (151 D)
18 Mar 09 UTC
It's certainly true that C & C++ are the gold standard for speed, but benchmarks argue that Java, Steel Bank Common Lisp, and Haskall are also comparatively speedy, even if they use a bit more memory (though that's not so important when everybody is swimming in memory).

Some scripting languages (Python and Ruby) have good OO capabilities. I would argue that Perl's object model is fundamentally flawed because Perl flattens all lists, which means you essentially have to hack around Perl's basic structure to fake data structures using references.

It's also true that these languages are good for server side scripting and that Javascript is used for animating web browsers. However, that is all Javascript is used for, and it's a pretty herky-jerky system. Even there, most pro javascript is done using drop-in libraries like JQuery that act more like frameworks.

The point behind such libraries is that doing really complex javascript is so painful, people avoid it. However, the original poster wanted to learn how to program, so...why learn how to program in a format that is limited to only web browsers, is slow, and is painful. People rightfully brag about doing some in Javascript--that they could do much easier in other languages--because doing it in Javascript is more awkward.

I still believe that he'll get his most bang for his buck going Java first, and then a functional programming language second. If he wants to learn a scripting language, the very best one is to simply load up Linux on his computer (I suggest Mint Linux) and then learning how to do basic shells scripting.

I learned Python first, but the only scripting I really do now are shallow Bash scripts. For anything more, I'd rather use an industrial strength programming language which requires more investment initially, but then gives me a lot more bang for my buck down the line.
WhiteSammy (100 D)
19 Mar 09 UTC
...im doing a class for college that uses VBA to write programmes for Excel and its certainly not the easiest way
Draugnar (0 DX)
19 Mar 09 UTC
I can't speak for Lisp or Haskall, but I'm a Sun Certified Java Developer and Java is NOT fast by any means on a trditional business PC. In Linux and Os X, yes, but the business world still uses Windows for the desktop/laptop. If I'm writing an application that needs speed to run on and end users machine, I'll do it in C# or C++.

However, I do agree that Java is a great learning language and makes it easy to move into the C#, Perl, PHP world and eventually C++. But if he wants to learn game programming specifically, Micro$ofts XNA Game Studio is really hard to beat. Tons of sample games with full source and lessons to enhance them make it very easy to learn hands on.

However, there is no substitution for taking a real programming course of study and learning how to develop well-formed, n-tier applications folowing the industry accepted standards for object and structure naming.

So I take it your a developer analyst as well, cstuart?

WhiteSammy - VBA... Be afraid. Be very afraid. Seriously, there is a free version of Visual Studio. If you want to learn VB, download the free version in the language of your choice (VB) to develop Windows Forms Apps.
Draugnar (0 DX)
19 Mar 09 UTC
Please ignore my crappy spelling and grammar above. It's late, I'm tired, and I just finished an afterwork coding session that has me cross-eyed.
kestasjk (99 DMod(P))
19 Mar 09 UTC
I expect the next version of Office will use .NET, so it'll allow C#, VB.NET, etc
cstuart (151 D)
19 Mar 09 UTC
That's interesting to know Draugnar. So, do you mean that Java runs slow only in Windows?

I'm not being smart there, just seriously asking. My background is an enthusiast in computers. I always kind of programmed--took it in university to get out of math, etc...--but I only really started getting serious about 1.5 years ago.

Since then, I've basically read and learned as much as I could in a kind of whirlwind tour of different languages, their strengths, weaknesses, and the like.

What I found was that I experienced a HUGE initial boost in productivity when using scripting languages, followed by what seemed like a brick wall if I ever wanted to get serious (except for doing web stuff that topped out at forms). It's just HARD to make GUIs that are robust. You basically have to abandon the standard for all the languages (some form of TK) and go learn something that was really built for C or C++.

Except Java. Java, despite being the LONG favorite whipping boys on the internet of language design done wrong, really has the full package within the non-microsoft arena.

I should add that because I run linux, I didn't try any of the microsoft products (though I did some VB years ago), even though there are projects for running the .NET platform on Linux using Mono (and probably others I don't know about).

However, a quick look at TIOBE makes a pretty strong case for going Java or C first for industrial strength programming, as does a quick trip to the bookstore and thumbing through the available books.

I did actually spend quite a bit of time with lisp (mostly scheme) and came away thinking, huh, that's cool. But I can't imagine trying to really build something big in it.
cstuart (151 D)
19 Mar 09 UTC
Though again, I don't know anything about the microsoft product line. They do have a number of books out about game programming that seem to use (I think) microsoft products, but I always steered clear of them because they seemed specialized only for that.
Tru Ninja (1016 D(S))
19 Mar 09 UTC
my personal suggestion is to not start with java if you want to get into programming and have no real foundation. your best bet is to start with a simpler less complex language like visual basic (if you use the windows platform). its much easier to write programs, debug, etc and you have the added benefit of designing the user interface (GUI) without having to actually prepare the code for it. VB does a lot of the work up front.

the reason i suggest that you dont start with java is that java is such a versitile language it can kill a brain if youre not ready for it. a lot of people get into programming in college thinking its all fun and games until they get to java and its so hard for them that they give up.

my second suggestion is that you really study what it is you want out of what youre learning. programming is multi-faceted. theres so much more that goes into it than just writing code and thats particularly true for game designers. someone has to do the concept art, others have to design the framework, others never touch code themselves but simply design the flow of the program.

my final suggestion is that you go for a book to learn it only if youre the type that is a dedicated self-learner. if you cant teach yourself out of a book without some assistance then i suggest going to a technical college or university and dabbling in it before making a final choice.
Onar (131 D)
19 Mar 09 UTC
I also have a suggestion. A friend of mine is actually an online Developer for a site Called byond.com In fave, that's how he got into programming in the first place. Take a look at some f the stuff on there, and if you think you can handle that kind of programming, go for it. Immersion is the best way to learn, y'know?
sceptic_ka (100 D)
19 Mar 09 UTC
One of Java's big advantages is also its biggest problem for beginners: Libraries are needed to do even simple stuff like print to a cmd line [System.out.println("xx");] which make them hard for beginners to learn.
Ditto with C++, plus here you also have the added problem of no garbage collector.
If you just want to fool about with stuff perhaps you should install a LAMP (google it) and play with php, css, javascript...and perhaps phpdiplomacy. :-)
figlesquidge (2131 D)
19 Mar 09 UTC
If you're after php then I suggest using 'xampp' - a very powerful setup for Apache, php and MySQL. Not quite so secure for web use, but very good for local testing


29 replies
can u change account stuff?
is it possible to A change ur account name? or B like delete ur account so u can make a new one?
5 replies
Open
Sourness (173 D)
18 Mar 09 UTC
Someone refusing to unpause because they're losing
writing a response now.. :S
8 replies
Open
maintgallant (100 D)
18 Mar 09 UTC
How did we get so lucky??
Obama is an amazing president. How did we get so lucky?? He's collected, positive, constructive, truthful...
http://news.yahoo.com/s/ap/20090318/ap_on_go_pr_wh/obama_aig
58 replies
Open
Iidhaegn (111 D)
19 Mar 09 UTC
CD's?
How does a country slip into Civil Disorder? Do they have to just not submit moves for one turn? Or two?
2 replies
Open
xcurlyxfries (0 DX)
16 Mar 09 UTC
False advertising
It said, lysol kills 99.9% of all viruses and bacteria...
But viruses aren't alive anyway so how can you kill them?
Is this considered false advertsisng as they are saying they do something that they actually can't do. Can I sue them?
28 replies
Open
Nadji (898 D)
16 Mar 09 UTC
Request Unpause
gameID=8859

Only player who has not unpaused has 0 SCs and it's Autumn. Thanks
1 reply
Open
Zapyx (100 D)
17 Mar 09 UTC
Those Who Have Strayed...
What is the weirdest occurance that has happened to any of you, where one of your troops, or another country's has had an army or fleet end up way on the other side of the board far away from everything else that you own.
4 replies
Open
Robyrt (113 D)
18 Mar 09 UTC
Quick rules question
Does a convoy cut support for an attack on a province supporting the convoy? Example:
Russia convoys Sev to Ank, supported by Arm
Turkey orders Ank to support Smy to Arm
Does everything bounce, or does Turkey take Arm?
8 replies
Open
freakflag (690 D)
17 Mar 09 UTC
unpause please
fun game-3 got paused due to the banning of a member, and now 1 player who only has 1 SC left has still not unpaused, several days later. The player who was banned has already been eliminated from our game, so there is no rational reason for the pause, so can something be done about this?
2 replies
Open
djbent (2572 D(S))
17 Mar 09 UTC
celebrate st paddy's day the irish way
whiskey you're the devil
wta, 24 hr phases, 101 buy-in
http://phpdiplomacy.net/board.php?gameID=9495
a battle for a bottle of water of life
8 replies
Open
Sicarius (673 D)
12 Mar 09 UTC
READ THIS NOW
I'd love to see them enforce this
91 replies
Open
xcurlyxfries (0 DX)
17 Mar 09 UTC
Quitting diplomacy
I want to quit a ll my games, and there is about 3 good position game so cd hunters there ya go.
11 replies
Open
Page 236 of 1419
FirstPreviousNextLast
Back to top