As some of you probably saw from our news post, we’ve recently split up our chat into two rooms. While we’re a bit sad to be ending the true “global” chat across the entire site with everyone, a single chat room on Kongregate simply won’t scale too well.

However! We want people to be in the best room possible as soon as they log on to Kongregate. And how do we determine the best room? Well, that’s where a bit of math comes in. I just thought I’d share it with you guys to see what you thought, and whether you had any suggestions.

Basically, each room has an invisible points value, which is unique to each user. When you log on, you’re automatically placed in the room that has the highest number of points for you. Here’s how points are determined:

- A room gets 10 points for each of your friends in that room.

- The room generates 12 points if it matches your language exactly (as defined by your browser).

- The room gets 8 points instead if it has “any” language.

- The room does not get any points if it has a specified language different from your own.

- The room gets 40 points if it’s the most recent room you’ve been in.

- The room gets 20 points if it’s the second-most recent room, and 10 points if it’s the third.

- The ideal room size is 30 people. The difference is subtracted from 30, then divided by 2 to determine how many points the overall population generates. For example, rooms of 20 or 40 will generate 10 points (40 – 30 (or 30 – 20) = 10, 30 – 10 = 20, 20 / 2 = 10).

Whew! So, let’s consider two rooms:

Room A: You were in this room last, it has 10 people, 2 friends, and “any” language.

Room B: You were in this room before Room A, it has 30 people, 1 friend, and “Spanish” as the set language, which is also the language of your browser.

So room A gets 40 points for being the last one, 5 points for the total population (30 – 10 = 20, 30 – 20 = 10, 10 / 2 = 5), 20 points for your friends, and 8 points for having a language that does not exclude the one you’re set to, but also doesn’t match it perfectly. 40 + 5 + 20 + 8 = 73 total points.

Room B gets 20 points for being somewhat recent, 15 points for the general population (30 – 30 = 0, 30 – 0 = 30, 30 / 2 = 15), 10 points for the one friend, and 12 points for matching your language exactly. 20 + 15 + 10 + 12 = 57 total points.

Therefore, when you log into your first game on Kongregate, you’ll automatically be placed into room A.

Note that this is only the room you’re AUTOMATICALLY placed into; you can always manually change the room at the top of the user list.

Thoughts?