Reserved IP Address°C
02-19-2025
BSV
$37.75
Vol 23.82m
1.54%
BTC
$96367
Vol 28273.94m
1.7%
BCH
$321.18
Vol 125.33m
2.14%
LTC
$134.76
Vol 1734.45m
5.04%
DOGE
$0.25
Vol 982.68m
1.88%
Getting your Trinity Audio player ready...

This post was first published on Medium.

We are thrilled to announce Learn sCrypt, the #1 tutorial to get started with sCrypt.

Chapter 9 loop scrypt
A chapter in Learn sCrypt


I hear and I forget; I see and I remember; I do and I learn.

– Chinese proverb

We believe learning by doing is one of the most effective ways to master a new programming language. Learn sCrypt is a series of lessons that split the development of an on-chain game Tic-tac-toe on the Bitcoin network into interactive chapters. No prior sCrypt knowledge is needed. By the end of the course, you can build a fully functioning Tic-tac-toe with an integrated web frontend and play it using an existing wallet.

Tic tac toe on Bitcoin
Tic-tac-toe on Bitcoin

How to Start?

Head to Learn sCrypt and register¹. In each chapter, after you finish all TODOs marked in the editor, simply click “SHOW ANSWER” to compare your solution to the default solution, in a visually appealing diff view as shown below. Once you are ready to proceed, click “NEXT >” to mark the chapter successfully completed.

Cpater 9 loop scrypt answer shown
Answer shown

Want to contribute?

A huge advantage of Learn sCrypt vs many other interactive learning websites is that it is easily extensible. All the contents of the courses are open source and hosted at GitHub. Anyone can create new courses and add them into Learn sCrypt, as long as they follow the predefined format.

Visit Learn sCrypt today and start learning sCrypt! Reach out to us in Slack if you have any questions or feedback.

Acknowledgements

We thank Kevin Healy, Phil Song, Mihael Šinkec, and Pasquale Valentin for their invaluable feedback on a beta version of Learn sCrypt.

***

NOTE:

[1] You can also choose to not register and will still be able to use the site as a guest. However, your progress will not be recorded.

Recommended for you

Evaluating Bitcoin upgrade proposals
As sCrypt says, these proposals aim to enable Bitcoin's limited functionalities rather than tackling the broader need for expressivity and...
February 12, 2025
Bitcoin OP_CAT use cases series #5: Drivechain
sCrypt has created a smart contract operating similarly to the hashrate escrow mechanism in Bitcoin’s Drivechain proposal.
February 10, 2025
Advertisement
Advertisement
Advertisement