Refactor index_status.pho.
Refactor index_load.js partial.
Remove name_fill.php, templates/wait_gaming.php.
Move removeDir function to admin.php.
Refactor codes, prepare for test.
Rename card_generation.php to post_card.php.
Add utils functions to function.php.
Move js scripts from templates/js/ to js/.
Modify post_card.php.
Fix game break check.
Fix reset_game in index_load.js.
Remove is_king.php.
Rename post_card.php to select_card.php.

Use delegate instead of onclick.
Remove get_id.php, return id from savename.php.
Merge pull request #1 from Losses/refactor

Refactor