Closed 0xGeegZ closed 1 year ago
En listant les cas de tests je me dit que le setter il faudrait qu'il puisse que ajouter des valeurs (en param ce serait toujours une liste mais on l'ajouterai a la liste existante). Car sinon ca pourrait poser des soucis dans le fonctionnement du smart contract. Donc les cas de test suivant c'est en prenant en compte ce point la :visage_légèrement_souriant:
Dans les cas de tests on aurait :
Constructor
Setter
Game Creation
For games where the player must bet to register, make sure that only one player can create a game for the following list of amounts :
The list should be stored onChain and modifiable via a setter in the Smart contract.
No other amounts are allowed.
[OPTIONNAL] Each game created will have an NFT which will identify the owner of the game (who will receive a fraction of the game's profits)