This is a Unity project I made following this tutorial to learn the basics of Unity.
Building the code
Unity (The free version will suffice.)
Clone the repository
git clone https://github.com/neelkamath/roll-a-ball
In Unity, click File > Build Settings. Click PC, Mac and Linux standalone.
Drag and drop the scenes you want to build from the Project view to "Scenes in Build". Specify the target platform and architecture and click "Build".
For Windows and Linux standalones, you will need to zip both the executable and "data" folder. For Mac, the .app folder already everything required.