Task 1

  1. Write a contract which can store a uint called score and the contract called Score.

  2. Implement a getter() and setter(uint) function for it.

  3. Deploy the contract

  4. Test it with Remix IDE

  5. Write another contract named ScoreV2

  6. Change the implementation of setter(uint) function to add 1 to the value that is being set

  7. Deploy ScoreV2

  8. Test it

Additional Exercise

  • Add more variables to the ScoreV2

  • Add more functions to the ScoreV2

  • Implement ScoreV2 in such a way that it uses Score under the hood