Bracey century leaves game on knife edge