game: create Branch class