PHP Elo Rating System Implementation

0

Language: PHP | License: MIT | Support: Limited, by email | Download

The Elo Rating System is a powerful rating system developed by Arpad Elo to better rank and compare chess players. Since then, it has been used in many other applications: basketball, football, scrabble, and Mark Zuckerberg’s infamous FaceMash.

The rating system is based around the concept of a player’s “true strength”, which is the true strength of a player compared to their peers (i.e., a ranking). Since, true strength is hard to determine, Mr. Elo devised a system which would move players close to their true strength based on their relevant performance versus others. Thus, when two players compete, there is already an expectation of who will win and who will lose based on previous games and their true strength. If a result breaks this expectation (an upset), ratings change more dramatically than they would if a result was confirming the expectation. The speed at which these changes happen is also completely customizable.

I implemented the Elo Rating in a small application I was making several weeks ago. The primary PHP class for computing and managing the ratings has been made open source under the MIT License. I advise you read up on the Elo Rating System on Wikipedia, and if it is what you are looking for, head over to Github to download the PHP Elo Rating implementation.

104_0660

L’International des Feux Artifice – International Fireworks Competition

0

English Version follows

 

L’International des feux d’artifice est un compétition en Montréal au cours de l’été. Il est un grand spectacle chaque samedi. Je vas à la Ronde (un parc de amusement) et je regarde ce montrer. J’ai vécu en Campbellton, au Nouveau-Brunswick pour tout mon vie, alors il est un excellent expérience pour moi parce-que j’ai ne pas êtes témoin à beaucoup de gros événements.

Ici sont quelques photos qui je pris. Vous racontez moi votre opinion sur ces photos dans le commentaires.

The International Fireworks Competition is in Montréal during the summer. It is a great sight every Saturday. I go to La Ronde (an amusement park) and watch the show. I’ve lived in Campbellton, New Brunswick for all my life, so it’s a great experience because I’m not used to huge events such as this.

 

Here are some pictures. Tell me what you think in the comments.

 

 

 

Enjoying the day at Laronde Amusement Park

Back to the Blog

0

So, after a short (read: 3 years) hiatus, I’ve finally set up my own blog again. This time, it’s to keep up with my personal exploits and to discuss computer programming and software development.

Enjoying the day at Laronde Amusement Park

Enjoying the day at Laronde

I’m currently working at Radialpoint Inc., a digital home solutions company in Montreal, Canada. I’m here for 12-16 weeks as part of a co-op internship through the University of Waterloo. Work’s amazing, my colleagues are excellent, and there’s free food and Foosball! What’s not to love?

I’m also taking French classes in Montreal to help me speak and write French better, so don’t be surprised it there is an occasional post in both official languages. I love the language and it’s remarkably awesome to have this opportunity to learn and practice on a daily basis. Currently, the most difficult challenge for me is learning French vocabulary, but that’s a problem that’s easily solved by reading the newspaper in the morning and using a dictionary.

Another thing I’ve taken on is Android development. Android is an interesting development environment, and while it is fragmented (~20% of people still use Android 2.2 – Froyo, which was released 2 years ago), it has a huge market and is appealing to consumers of all stripes. I just received my development device and have already “produced” two applications, so now I just have to test and release them.

 

Anyways, that’s the short introductory post for now. I hope you’ll follow this blog and comment! I love to hear from others.

Go to Top