This is the beginning of a series of posts on popular web development tools. With the number of tools that developers use now, it’s impossible to be an expert in all of them, and getting started can seem daunting, so I’ll be going over the basics, so you can start right away.
Recently, I made a chess program in Python and published the source on github here. The code is just under 1000 lines, about 20% of which is dedicated to the AI. In this post I’ll cover how the AI works, what each part does. and why it works like that. You can just read through, or download the code and mess around with it as you read. The AI is all in the AI.py file, although it might help to look at the other files to see what the classes that the AI depend on do.
<p”>Hello world. I thought for a while about what to title my first post, trying to find a better alternative to WordPress’ default ‘hello world’. I’ve failed, but ‘hello world’ actually seems like a decent way to start a blog which will concern programming. As anybody who’s ever tried their hand at programming knows, ‘hello world’ is the first stepping stone into the world of computer programming, and has been for decades. (more…)