Skip to content

arshiyan/plot4

Repository files navigation

Plot Four

##Guideline:

  • Use Git : Meaningful commit, git strategy (github flow)
  • TDD: Test for check credential
  • Dockerize: Run project anywhere

##Docker Add all files in src directory and use Docker Compose:

version: '3.9'
services:
  php:
    container_name: php-apache
    image: php:8.0-apache
    volumes:
      - ./src:/var/www/html/
    ports:
      - 8000:80

OR

Use Docker repository in https://hub.docker.com/r/arshiyan1/plot4

 docker pull arshiyan1/plot4

##Test

Run Test in docker composer

 docker-compose exec php php TestGame.php

##Run Game

For Draw plain text change config file:

define("RUNDRAW","noneboxDraw");

Run Game in docker composer

 docker-compose exec php php index.php

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors