General Number

A general number is used by the number of characters to track the gamers so that most gamers can handle. Structure of the general number depends on the character.

Gryffindor
The Gryffindor uses a general number system for clearing purposes. It was created in 2008 in order to make it a clean effort to the gamers and can handle the system themselves to prevent the clash from happening with one gamer and another gamer with the same or similar username. It is called Gryffindor Code.

The Gryffindor Code is a series of 14 numbers, in the format DDMMYYYYGTZZZX. Every Nintendo user has a unique Gryffindor Code.

The first 8 digits, DDMMYYYY specify the date of birth.

The next digit, G, indicates the gender: The next digit, T, indicates that the gamer is a fan of a specified series: The next three digits, ZZZ, are a serial number and are used to differentiate individual users with the same first 10 digits.
 * 1 - Male
 * 2 - Female
 * 0 - Not telling/unknown
 * 1 - Mario
 * 2 - Sonic
 * 3 - Pokemon
 * 4 - Animal Crossing
 * 5 - The Legend of Zelda
 * 6 - Kirby
 * 7 - Other series

The last digit, X, is a checksum for error control.

An example of a valid Gryffindor Code would be like 25051989240498.

The checksum is calculated by Luhn algorithm: For example, the Gryffindor Code 25051989240498 would be calculated from the following:
 * a1 = sum of the digits in odd positions (1st, 3rd, 5th, 7th, 9th, 11th, 13th)
 * a2 = 2x the sum of the digits in even positions (2nd, 4th, 6th, 8th, 10th, 12th excluding checksum the 14th). If product > 9, then two digits add together.
 * a3 = a1 + a2
 * a4 = remainder from the following division: a3 ÷ 10
 * X = 10 - a4
 * (2, 5, 0, 5, 1, 9, 8, 9, 2, 4, 0, 4, 9) = (9, 4, 0, 4, 2, 9, 8, 9, 1, 5, 0, 5, 2)
 * (9 + 0 + 2 + 8 + 1 + 0 + 2) * 2 = (1+8 + 0 + 4+ 1+6 + 2 + 0 + 4) = 26
 * 4 + 4 + 9 + 9 + 5 + 5 = 36
 * 26 + 36 = 62
 * 62 ÷ 10 = 6 R 2
 * 10 - 2 = 8 (aka checksum)

Bugs Bunny
The Bugs Bunny General Number is a unique, 12-digit number containing in the format YYYYMMDDZZZ Z, where YYYYMMDD is the date of registration, ZZZ is the serial number and Z is a checksum.

The digit Z is calculated from the following formula:

$$(11-(3x_1 + 4x_2 + 5x_3 + 6x_4 + 7x_5 + 8x_6 + 9x_7 + 1x_8 + 2x_9 + 3x_{10} + 10x_{11})\text{ mod }11)\text{ mod }10.$$

An example of a valid Bugs Bunny General Number would be 201112100524.