During these days I played a bit with Artificial Intelligence for a project I am working on (big news on the horizon) and I’m coming with a brief introduction to the simplest game you can use to test artificial intelligence. Tic Tac Toe. It’s a pencil-and-paper game for two players, O and X, who take …
Read all posts about "Tic Tac Toe" gamePhp
While I was reading Claytus Hood Tower Defense case study I was impressed by this: To estimate the distances and so check the range, I use Manhattan distance formula, less accurate but faster than Euclidian distance Named after the grid layout of most Manhattan streets, it’s a form of geometry in which the usual metric …
Face detection is a computer technology that determines the locations and sizes of human faces in arbitrary (digital) images. It detects facial features and ignores anything else, such as buildings, trees and bodies. (source: Wikipedia) There is so much to say about face detection and all its algorithms… I am planning a step by step …
We know there are hundreds of plugins to let you host a contact form in WordPress, but I am going to show you how to create your own one. We are about to create a custom contact page that will work under WP 3.0, and more precisely with Twenty Ten theme. Obviously, with some minor …
When I celebrated my four years of blogging I also introduced a big problem this blog is facing: there is so much content it’s not easy to find what you are looking for. I received some interesting suggestions, and one of them is to link all posts of the same series. This is what a …
Do you want to create your custom arcade website without using popular arcade scripts or WordPress plugins? Maybe with a Mochi integration? That’s what Gabriel Bianconi did, and he wants to share his script with us. It’s a simple, interesting script dedicated to all developers looking for a quick way to integrate Mochi games into …
If you are looking for a real world example made with Loading WordPress posts with Ajax and jQuery or you haven’t played LineBall yet, or you played it, you loved it and you want to know who made the music, this is the right blog post. I am finishing and polishing LineBall’s official site built …
After seeing how to include jQuery Ajax calls in your WordPress blog, it’s time to load posts on the fly, without reloading the page. As for the previous example I am using the standard Kubrick theme… without any plugin installed. Look how I load the posts under the header by clicking on their titles… even …
I want to show you how to include jQuery ajax calls in your WordPress blog. The reason is simple: sometimes you may need to update the content of a WP page without reloading the entire page. This is useful when you want the user to interact with your blog without forcing him to reload the …
Horror Profile is a Facebook application I developed a month ago. Now it’s time to release the source code. You will find some useful tips about dynamic image creation with php. If you are absolutely new to Facebook applications, I suggest you to read “Developing a Facebook Application for absolute beginners” posts 1, 2, 3, …