Organizing bash files

view story

http://www.linuxquestions.org – I've been writing a simple text-based rpg game for a project for my Linux-Scripting class and I would like to know if there's a standard for setting up a project in Bash. So far I've made a directory called rpg_lite that contains two files: one file that serves as the main file that sources the second file which contains all of my functions. If you had multiple associative arrays where would be the best place to put them and how would you organize this? Here's a snippet: Code: #!/usr/bin/env bash . my_functions inventory "$weapons" # prints available weapons (HowTos)