How do I get the source code of my gdevelop project

I need to post the source code of my game for a school project but I don’t know how to do that with gdevelop

Hello!

There’s two ways you can look at this.
GDevelop’s source code is the project file, so you’d provide the yourprojectnamehere.json file that your project saves to.

Alternatively, you can export your project to a local folder (do the manual build option when exporting), and you’ll see the javascript project files there. This isn’t your base source code, but it is the converted javascript code that the game runs with.