Example #1
0
def main():
    games = search_games(where='name like "%boulder%"')
    dic = dict([(norm(x.name), x) for x in games])
    name = choice(sorted(dic.keys()))
    if name:
        game = dic[name]
        run_game(game.source, game.id, auto_install=1)
Example #2
0
def test_boulder():
    games = search_games(where='name like "%boulder%"')
    print games
    assert games