Ahoy there! As the waves crash against the wooden hull and the salty sea breeze whips through your hair, there's nothing quite like the thrill of sailing the high seas as a pirate captain. But amidst the chaos and adventure, it's important not to forget the basics - like keeping track of your crew. Your ship relies on your crew members to work together and keep everyone safe on their journey. Counting the number of crew members you have is important to make sure everyone is accounted for and that you have enough people to handle any challenges that may come your way.
So, in this course you'll learn how to create an on-chain counter program. This program will allow you to initialize, increase and decrease the number of crew in order to keep track of a certain number of your pirate crew.
If you are ready let's go to next chapter!