Party A and Party B agree to buy the same number of lottery tickets every week, after winning the prize, they will split the two.A gives the money to B, and B buys lottery tickets on his behalf. B obeys the agreement and buys lottery tickets of the same number every week as agreed.Once, b as a result of some reason, did not buy lottery ticket, but unluckily the winning number of this period is the number that period all buys, 5 million!A became angry and, in a fit of rage, asked B to assume liability for damages.Can A claim for compensation from B?Is the agreement between party A and Party B a contract, and is it subject to the provisions of the Contract Part of the General Principles of the Civil Code?The agreement between Party A and Party B looks like a contract, but its nature is not suitable for the relevant provisions of the contract. If the relevant provisions of the contract are applicable, it will be unfair for Party B. Such agreement is defined as an agreement outside the scope of the contract, and the act is not a civil legal fact and has no legal effect on the contract.Therefore, the nature of the agreement between Party A and Party B should not be adjusted by the relevant provisions of the Contract part of the Civil Code. It is not a civil legal fact, and Party A cannot request Party B to bear the liability for damages.