Replies: 2 comments 12 replies
-
For now I can see that you declared all variables as I've not run the test, to get the |
Beta Was this translation helpful? Give feedback.
-
Oh, that a pretty cool exercise, how long did they give you? VRF for the win! couldn't you do it with an array of 25 numbers generated from chainlink VRF using modulo, hmm, if elements 0-4, 5-9, 10-14, 15-19, 20-24 (across) || elements [0,5,10,15,20], [1,6,11,16,21], [2,7,12,17,22], [3,8,13,18,23], [4,9,14,19,24] (vertical) || [0,6,12,18,24] or [4,8,12,16,20] (diagonal) middle spot is free |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am applying for solidity developer jobs and one of the company gave me a small case study. I will put the case study requirements below:
I don't know if this is ok to post this discussion in this space, but here is the only space I know, feel free to ask me to delete this.
Ok, the thing is I got rejected by the company because their staff think I was a bit lacking in gas optimization (should be <1m) and understanding in random numbers. I am really appeciate if anyone has any ideas or suggestions for the smart contract, so I can learn and study from you guys.
Here is my repository , please only focus on the smart contracts.
Beta Was this translation helpful? Give feedback.
All reactions