shared script between main project and sub project

currently i have one main project and another project for each game (planning on having around 40 different games each one in a separated project)

each game will be downloaded to the main project using asset bundle

since asset bundle doesnt really support scripts i will put all my scripts in the main project. my question is:

how can i share the script folder so i can use it in each game

If it were me I’d use version control with a client for each game (and the main project) and use client mappings to share the shared files into each project.

I would put the sourcecode in one central location and build shared libraries (dll) out of the scripts which are then copied to each unity project. This way you don’t have to duplicate scripts anywhere.