I'm having a bit of trouble organizing my bevy projects in terms of modules. I've read over the rust docs regarding modules to try and help. But, I don't really know the most 'ergonomic' way to organize a project. For example, the example bevy game "Alien Cake Addict" has a global "Game" struct that helps systems reason about the current 'player' in the game and also the current 'Camera' as well.
Right now I have main.rs being the runner for everything. So, I want to move stuff into it's own files and what-not for better organization. If I were to move the previously mentioned 'Game' structure into it's own file how would I best do that? My current solution is to have a lib.rs which has pub mod game_structure. So my options are to either have a file called game_structure.rs which makes the Game struct public. Or to have a folder called game_structure with mod.rs under it which does the same thing as game_structure.rs. But... I'm not sure what the potential 'tradeoffs' are and what the best way to actually organize a project is.
Any opinions or examples of project structure are much appreciated. I really just want to move away from putting everything into main.rs.