“Game Face” will be our weekly round-up of our internal and external open source work here at Agora Games. Internal open source refers to our public projects that you can find over at our Agora Games GitHub account. External open source work refers to projects that we contribute to in off-hours and may or may not have anything to do with video games because we’re swell folks like that. Pretty simple right? Here goes…
Did you notice that Game Face was recognized in the first Game Bytes post on the GitHub blog? Also, with the release of leaderboard_factory this week, engineers here at Agora Games have open sourced a total of 25 projects in 2012!
bnet_scraper is a Nokogiri-based scraper of Battle.net profile information. The release this week adds a number of fixes and features: Adds domain remapping to regions, Fixes bug with EU profile scraping due to language selection, Parses new player stats (Career Wins, Most Played Type, Games This Season) and Parses new league stats (Current/Highest Solo/Team Leagues).
leaderboard allows you to build leaderboards using Redis. We added all_leaders and all_leaders_from methods to retrieve all members from a leaderboard. You may also use the aliases all_members or all_members_from. These methods may be helpful for situations in which you have a smaller leaderboard that you don’t necessarily want to page through to display all the data.
leaderboard_factory is a new gem that we extracted from one of our projects this week that helps you define and work with a bunch of leaderboards, from, e.g. an ActiveModel object. You can use it to define, for example, leaderboards available from a Player object where a few leaderboards are scoped to the player and one is scoped to the entire collection of players.