Random Thought Patterns

How to think like a Computer Scientist (In Python, decent intro to basics):

http://openbookproject.net//thinkCSpy/


Thinking in Python: http://www.mindview.net/Books/TIPython

Dive into Python (For those that know programming, and maybe have worked in a dynamic language):

Python 2: http://diveintopython.org/index.html
Python 3: http://diveintopython3.org/


Comments (Page 2)
2 Pages1 2 
on Aug 14, 2009

If you want to learn game AI, nothing beats this website:

http://aigamedev.com/

Lot of people on the industry post on those forums. I don't know if the premium accounts are open or not, but the content they produce is well worth paying if you like game AI.

As for books, I think one the best ones to start is "Programming Game AI by Example", by Mat Buckland

http://www.amazon.com/Programming-Game-Example-Mat-Buckland/dp/1556220782/ref=sr_1_1?ie=UTF8&qid=1250289159&sr=8-1

on Aug 18, 2009

Scorpiana
Well, I've only tried that one example for now, and because of the results, I just thought to put a warning out. I didn't expect the language to have changed completly between those two versions (afterall, it's still the same language...) but it would suck pretty bad if you learned 2.6 and while modding you learned that everything you tried would generate errors...

So, better safe than sorry I guess

There's actually a tool that automatically converts Python 2.x code to Python 3.x code:

http://docs.python.org/library/2to3.html

It works fairly well (things that I've translated with it have needed only minor tweaks afterwards to get them fully working again)

On a side note, noticed that 'code blocks' don't include support for either Java or Python. Since Elemental's AI dev is going to be in Python, it would probably make sense to add Python support to code blocks too.

on Aug 20, 2009

thanks to everyone for adding to thread. here's a video discussing AI techniques in python:


http://blip.tv/file/1947373/

 

on Sep 17, 2009

Just a head's up, DiveintoPython3 has been finished and is available online for free or purchase.  Just the old www.diveintopython3.org and away ye go.

on Sep 25, 2009

Useful indeed, Good find. 

on Nov 10, 2009

This is kinda random, and outta left field as I've been very much out of the loop here lately  (come to me, Elemental capable PC in a month or so that I may start to help in beta land at last), but in regards to Python:

 

Will the recently announced moratorium and aim at a "grand catchup" in terms of the whole lot of it factor into Elemental down the line going BACK to the notion of aiming for Python 3.x versus what I last recall in a journal post a bit back of scaling back to 2.x due to maturity issues of a sort?  I can't speak yet with technical parlance, but here's the link to what I mean:

 

http://python.org/dev/peps/pep-3003/

on Nov 10, 2009

Frogboy mentioned that due to poor support of Python 3.x in Visual C++ (one of many flaws, I can assure you), engine will work (ie. C++ will be exposed to Python) with Python 2.x. Will the game switch to Py3.x when the Visual reaches some maturity level?

on Nov 10, 2009

That was pretty well my wondering, as the aim on the moratorium was to get everything caught up on the same page with a buffer of time (couple years they cite) and focus that was still only functioning proper back on version 2.5 and 2.6 and so on.

 

But even then, the trick may well be exactly when would the specific things Frogboy is eyeing would come into their own under 3.x and become something more than what they currently are under the old Python.

2 Pages1 2