Not really, you just need to count the live neighbors.
Type: Posts; User: mike_g
Not really, you just need to count the live neighbors.
Ok, slight exageration there...
Wherever there is war there is money to be made. Perhaps it is a little unfair to deride China for doing exactly what we do. After all, America supplied the...
:Lol, yeah, maybe. I just get annoyed by some things sometimes. No-one should really take it personally.
Edit: and I hope you don't take my sig seriously
Edit2: Actually I don't think theres...
That depends on economic growth. Currently there is a lot of foreign investment, which props things up. Its not an unlimited fund though.
Yeah, charity is big business over there. When you have...
Maybe, but who was the person that derailed the subject into a rant about white supremacy?
Claiming that Chinese people are any less intelligent is just plain stupid. While your ancestors in Wales...
Well, if i was starving and had to I guess I'd kill him I guess I would. But I don't like to have to make those kind of decisions in general :)
Hey dude Sorry, I missed your last post. I'd guess thats like yin and yang or something right?
I'm fine as I am. I have a well paid job so will leech for the time being. If I get bored or reach...
You know, I don't really care about those things when theres millions of people making dumb babies. In short: preventing babies is better than killing people. The world has limited resources and it...
Ok, lets set a few myths straight: fat people are generally lazy lumps of lard unless they live in the arctic. I'm skinny, and I used to get sick a lot. Probably mostly from living in hostels...
And what exactly do you know? Nothing it seems, until you back up your accusations with some kind of facts instead of just stating:
Abachler knows f* all, c'mon, he can't even post a linked list...
Ok, I just read the one child policy link, and it says that it is estimated to have prevented 250,000,000 births. To put that in context its like adding 4/5 of the population of America to a country...
Yep.
Is that a bad thing?
Why? Any girl that would tell you that she does not want to be attractive is a liar.
Who cares? If you don't like, don't look: simple. Better yet castrate...
Its probably too many connections and MySQL can't handle it. Perhaps some of the older threads need archiving, or if the server can handle it, up the connection limit.
The internet has: microsoft windows 7 $30 .edu - Google Search
I guess it depends if you consider things associated with an action as part of it. I don't so I'd say number 2.
While it sounds quite funny, that does not really make sense. Reinforcement...
You might want to read the manpage for getopt as that will do you option handling for you. Saves reinventing the wheel.
Oops, I misread your post >_<
Are you going to be using a database? If so, then thats usually where the bottleneck will end up. PHP should be fine, loads of very busy sites use it. And if speed was an issue I'd rather fork out...
Who said that? If its educational then its fine. If its just a matter of getting a task done then it make sense to do it the easy way.
Well symbolic ai is cumbersome and slow in general. Unless you have a very simple model this kind of planning is probably too slow for most realtime games, but fine for turn based. The main problem...
Any reason why you need C for this?
In python you could just do:
file = open("myfile.txt", "r+")
data = file.read().replace("texttoreplace", "newtext")
file.seek(0)
file.write(data)...
yeah, % is the modulus operator. So, if n % 4 == 0 then n is divisible by 4
You can't do string comparisons like that. Lookup strcmp that will do what you want.
It sounds like you want an an associative array. Many high level languages have this feature built in. In python you would use a dictionary.
I implemented something like this once in C, but its...
Text based games are more complex than they seem, unless they are very crude. I'd recommend using a relational database like SQLite to store the data. EG: locations, actions, descriptive text. It...
I like LISP, but I'm still not all that good at it. The most important thing really is to learn the algorithms. Once that is done you can port code to whatever language you like. IMHO having to deal...