Toxocious / Absolute

An online multi-player Pokemon RPG with in-depth battling, trading, map exploration, real-time chatting, and more.
MIT License
3 stars 1 forks source link

Organize ./core Directory #15

Open Toxocious opened 2 years ago

Toxocious commented 2 years ago

Description

The directory is pretty unorganized, where much of what lies within could serve as their own directory in the root file structure.

Details

I propose a new, better file structure, which should be done after the completion of Issue #14, which would clear up the ./core/ajax directory and render it unnecessary.

This update would require updating hyperlinks and PHP file requires across the entire code-base.

Current Root File Structure

| absol
| battles
| clan
| core
  |---- ajax
  |---- classes
  |---- functions
  |---- required
| images
| js
| logs
| maps
| pages
| staff
| themes

Proposed Root File Structure

The proposed update would move the ./clan, ./maps, and ./staff directories into the ./pages directory.

| absol -- ! moved to its own repository
| classes
| functions
| images
| js
| logs
| pages
    |---- battles
    |---- clan
    |---- maps
    |---- pokemon_center
    |---- staff
    |---- ...
| required -- ! ideally this would be renamed or something
| themes