namespace KGS { export namespace Constants { export const DefaultKomi = 6.5 ; export const HandicapKomi = 0.5 ; export const DefaultMainTime = 1800 ; export const DefaultJapaneseByoYomi = 30 ; export const DefaultJapanesePeriods = 5 ; export const DefaultCanadianByoYomi = 600 ; export const DefaultCanadianStones = 25 ; export const AvatarURIPrefix = "http://goserver.gokgs.com/avatars/" ; export const AvatarURISuffix = ".jpg" ; export const RatingShodan = 3000 ; export const Rating9Dan = 3899 ; export const RatingNull = 0x7fff ; export namespace TimeSystems { export const None = "none" ; export const Absolute = "absolute" ; export const Japanese = "byo_yomi" ; export const Canadian = "canadian" ; } export namespace RegularExpressions { export const Name = /[A-Za-z][A-Za-z0-9]{0,9}/ ; export const Rank = /((\d+)\s*([kKdD])[yYuUaAnN]*)?\s*(\??)/ ; } } }