cavid90 / partnerstree

Php battleship game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Partnerstree Developer task

Installation

  1. Open config/database.php file and replace database credentials with yours
  2. Start install.php file (Example: http://yoursite.com/install.php)
  3. Site configurations are placed in config/app.php file. You can change lenght of X and Y coordinates, define maximum number of misses etc.

What and Where

  1. Routes are placed in routes folder file by file: game, gamers etc
  2. Javascript is written in assets/js/custom.js
  3. There is config function which is written in functions.php file
  4. Composer works, can add packages. But there was no need.
  5. For adding new route-view: create a folder or file inside routes folder. The the url will be, for example: /?route=folderName/fileName.php
  6. Database sql file is in database folder

About

Php battleship game


Languages

Language:PHP 84.2%Language:JavaScript 11.2%Language:Hack 3.8%Language:CSS 0.8%