I'm going to create big code (text-based game), so, I want to know how to write a code and how to put files to folders correctly that it would be evident for everyone and comfortable for use? Are there any examples on the internet? I'll be very very grateful for any advices from advanced programmers, thanks.
Probably the most transparent file structure is the one used in PEAR or Zend Framework, however there is NO such thing as the best file structure. My advice for you is to test out different frameworks and see how and where they keep files by browsing other people work you should find something that will fit your style.