0xGeegZ / lets-fucking-game-v1

Let's Fucking Game allows you to create "One Button Game" to engage your community and provide them fun way to engage with your content. Once the game starts. players have to log in everyday during a random time slot. If you forget, you lose. The last players share the prizes according to the prizepool distribution.
https://lfgames.xyz
7 stars 1 forks source link

[0.1] Game Factory > Game Creation Limitation #4

Closed 0xGeegZ closed 1 year ago

0xGeegZ commented 1 year ago

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)

0xGeegZ commented 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