PHP Game of Three: Game of Three implementation using Websockets

Recommend this page to a friend!
  Info   View files Documentation   View files View files (83)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2021-06-16 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 48 This week: 10All time: 10,068 This week: 15Up
Version License PHP version Categories
got 1.0The PHP License5HTTP, PHP 5, Games
Description Author

This package provides Game of Three implementation using Websockets.

It can generate the pages to display the board and process the Game of Three's moves.

The package uses Websockets to make the browser communicate the moves with the Web server, so the package processes the moves and returns a response to update the board on the Web page.

Innovation Award
PHP Programming Innovation award nominee
June 2021
Nominee
Vote
The Game of Three is a board game that works by allowing the play to arrange pieces in the board until he forms the arrangement requested by the game.

This package uses Websockets to provide a PHP-based implementation of the Three Game that is interactive, so the game works well without reloading the page when the player moves the pieces on the board.

Manuel Lemos
Picture of Omar Shaban
Name: Omar Shaban <contact>
Classes: 3 packages by
Country: Germany Germany
Age: 35
All time rank: 4319226 in Germany Germany
Week rank: 16 Up2 in Germany Germany Up
Innovation award
Innovation award
Nominee: 2x

Details

Game Of Three Websocket

Add to hosts file

192.168.55.99 game-o-three.dev

Requirements

  • Vagrant
  • Ansible
  • VirtualBox

Start:

  Files folder image Files  
File Role Description
Files folder imageansible (3 files, 4 directories)
Files folder imageapp (9 files, 2 directories)
Files folder imagesrc (1 file, 2 directories)
Files folder imageweb (7 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file rabbitmqadmin Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file socket_start.sh Data Auxiliary data
Accessible without login Plain text file Vagrantfile Data Auxiliary data

  Files folder image Files  /  ansible  
File Role Description
Files folder imagefiles (1 file)
Files folder imageinventories (1 file)
Files folder imageroles (10 directories)
Files folder imagevars (1 file)
  Accessible without login Plain text file init.yml Data Auxiliary data
  Accessible without login Plain text file playbook.yml Data Auxiliary data
  Accessible without login Plain text file windows.sh Data Auxiliary data

  Files folder image Files  /  ansible  /  files  
File Role Description
  Accessible without login Plain text file authorized_keys Data Auxiliary data

  Files folder image Files  /  ansible  /  inventories  
File Role Description
  Accessible without login Plain text file dev Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  
File Role Description
Files folder imageapp (1 directory)
Files folder imagecomposer (1 directory)
Files folder imagemongodb (3 directories)
Files folder imagemysql (1 directory)
Files folder imagenginx (3 directories)
Files folder imagephp (3 directories)
Files folder imageserver (2 directories)
Files folder imagesocket_server (1 directory)
Files folder imageswap (2 directories)
Files folder imagevagrant_local (1 directory)

  Files folder image Files  /  ansible  /  roles  /  app  
File Role Description
Files folder imagetasks (1 file)

  Files folder image Files  /  ansible  /  roles  /  app  /  tasks  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  composer  
File Role Description
Files folder imagetasks (1 file)

  Files folder image Files  /  ansible  /  roles  /  composer  /  tasks  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  mongodb  
File Role Description
Files folder imagehandlers (1 file)
Files folder imagetasks (1 file)
Files folder imagetemplates (1 file)

  Files folder image Files  /  ansible  /  roles  /  mongodb  /  handlers  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  mongodb  /  tasks  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  mongodb  /  templates  
File Role Description
  Accessible without login Plain text file mongodb.conf.tpl Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  mysql  
File Role Description
Files folder imagetasks (1 file)

  Files folder image Files  /  ansible  /  roles  /  mysql  /  tasks  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  nginx  
File Role Description
Files folder imagehandlers (1 file)
Files folder imagetasks (1 file)
Files folder imagetemplates (1 file)

  Files folder image Files  /  ansible  /  roles  /  nginx  /  handlers  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  nginx  /  tasks  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  nginx  /  templates  
File Role Description
  Accessible without login Plain text file default.tpl Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  php  
File Role Description
Files folder imagehandlers (1 file)
Files folder imagetasks (5 files)
Files folder imagetemplates (1 file)

  Files folder image Files  /  ansible  /  roles  /  php  /  handlers  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  php  /  tasks  
File Role Description
  Accessible without login Plain text file configure.yml Data Auxiliary data
  Accessible without login Plain text file main.yml Data Auxiliary data
  Accessible without login Plain text file pecl.yml Data Auxiliary data
  Accessible without login Plain text file php-cli.yml Data Auxiliary data
  Accessible without login Plain text file php-fpm.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  php  /  templates  
File Role Description
  Accessible without login Plain text file extension.tpl Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  server  
File Role Description
Files folder imagetasks (1 file)
Files folder imagetemplates (1 file)

  Files folder image Files  /  ansible  /  roles  /  server  /  tasks  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  server  /  templates  
File Role Description
  Accessible without login Plain text file timezone.tpl Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  socket_server  
File Role Description
Files folder imagetasks (1 file)

  Files folder image Files  /  ansible  /  roles  /  socket_server  /  tasks  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  swap  
File Role Description
Files folder imagetasks (1 file)
Files folder imagetemplates (1 file)

  Files folder image Files  /  ansible  /  roles  /  swap  /  tasks  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  swap  /  templates  
File Role Description
  Accessible without login Plain text file increase_swap.tpl Data Auxiliary data

  Files folder image Files  /  ansible  /  roles  /  vagrant_local  
File Role Description
Files folder imagetasks (1 file)

  Files folder image Files  /  ansible  /  roles  /  vagrant_local  /  tasks  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  ansible  /  vars  
File Role Description
  Accessible without login Plain text file all.yml Data Auxiliary data

  Files folder image Files  /  app  
File Role Description
Files folder imageconfig (9 files)
Files folder imageResources (1 directory)
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Plain text file AppCache.php Class Class source
  Plain text file AppKernel.php Class Class source
  Accessible without login Plain text file autoload.php Aux. Auxiliary script
  Accessible without login Plain text file check.php Example Example script
  Accessible without login Plain text file console Example Example script
  Accessible without login Plain text file phpunit.xml Data Auxiliary data
  Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
  Plain text file SymfonyRequirements.php Class Class source

  Files folder image Files  /  app  /  config  
File Role Description
  Accessible without login Plain text file config.yml Data Auxiliary data
  Accessible without login Plain text file config_dev.yml Data Auxiliary data
  Accessible without login Plain text file config_prod.yml Data Auxiliary data
  Accessible without login Plain text file config_test.yml Data Auxiliary data
  Accessible without login Plain text file parameters.yml.dist Data Auxiliary data
  Accessible without login Plain text file routing.yml Data Auxiliary data
  Accessible without login Plain text file routing_dev.yml Data Auxiliary data
  Accessible without login Plain text file security.yml Data Auxiliary data
  Accessible without login Plain text file services.yml Data Auxiliary data

  Files folder image Files  /  app  /  Resources  
File Role Description
Files folder imageviews (1 file)

  Files folder image Files  /  app  /  Resources  /  views  
File Role Description
  Accessible without login Plain text file base.html.twig Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageAppBundle (1 file, 6 directories)
Files folder imageGameOThree (1 directory)
  Accessible without login Plain text file .htaccess Data Auxiliary data

  Files folder image Files  /  src  /  AppBundle  
File Role Description
Files folder imageController (1 file)
Files folder imageDependencyInjection (1 file)
Files folder imageResources (2 directories)
Files folder imageRpc (1 file)
Files folder imageTests (1 file)
Files folder imageTopic (1 file)
  Plain text file AppBundle.php Class Class source

  Files folder image Files  /  src  /  AppBundle  /  Controller  
File Role Description
  Plain text file DefaultController.php Class Class source

  Files folder image Files  /  src  /  AppBundle  /  DependencyInjection  
File Role Description
  Plain text file AppExtension.php Class Class source

  Files folder image Files  /  src  /  AppBundle  /  Resources  
File Role Description
Files folder imageconfig (1 file, 2 directories)
Files folder imageviews (1 directory)

  Files folder image Files  /  src  /  AppBundle  /  Resources  /  config  
File Role Description
Files folder imagedoctrine (1 directory)
Files folder imagepubsub (1 file)
  Accessible without login Plain text file services.yml Data Auxiliary data

  Files folder image Files  /  src  /  AppBundle  /  Resources  /  config  /  doctrine  
File Role Description
Files folder imagemapping (2 files)

  Files folder image Files  /  src  /  AppBundle  /  Resources  /  config  /  doctrine  /  mapping  
File Role Description
  Accessible without login Plain text file Game.mongodb.xml Data Auxiliary data
  Accessible without login Plain text file Player.mongodb.xml Data Auxiliary data

  Files folder image Files  /  src  /  AppBundle  /  Resources  /  config  /  pubsub  
File Role Description
  Accessible without login Plain text file routing.yml Data Auxiliary data

  Files folder image Files  /  src  /  AppBundle  /  Resources  /  views  
File Role Description
Files folder imageGameOThree (1 file)

  Files folder image Files  /  src  /  AppBundle  /  Resources  /  views  /  GameOThree  
File Role Description
  Accessible without login Plain text file index.html.twig Data Auxiliary data

  Files folder image Files  /  src  /  AppBundle  /  Rpc  
File Role Description
  Plain text file GameOThreeRpc.php Class Class source

  Files folder image Files  /  src  /  AppBundle  /  Tests  
File Role Description
  Plain text file KernelTestCase.php Class Class source

  Files folder image Files  /  src  /  AppBundle  /  Topic  
File Role Description
  Plain text file GameOThreeTopic.php Class Class source

  Files folder image Files  /  src  /  GameOThree  
File Role Description
Files folder imageCore (5 directories)

  Files folder image Files  /  src  /  GameOThree  /  Core  
File Role Description
Files folder imageException (2 files)
Files folder imageModel (3 files)
Files folder imageRepository (2 files)
Files folder imageService (1 file)
Files folder imageTests (2 directories)

  Files folder image Files  /  src  /  GameOThree  /  Core  /  Exception  
File Role Description
  Plain text file IllegalOperationException.php Class Class source
  Plain text file IncorrectAnswerException.php Class Class source

  Files folder image Files  /  src  /  GameOThree  /  Core  /  Model  
File Role Description
  Plain text file Game.php Class Class source
  Plain text file GameInterface.php Class Class source
  Plain text file Player.php Class Class source

  Files folder image Files  /  src  /  GameOThree  /  Core  /  Repository  
File Role Description
  Plain text file GameRepository.php Class Class source
  Plain text file GameRepositoryInterface.php Class Class source

  Files folder image Files  /  src  /  GameOThree  /  Core  /  Service  
File Role Description
  Plain text file GameManager.php Class Class source

  Files folder image Files  /  src  /  GameOThree  /  Core  /  Tests  
File Role Description
Files folder imageModel (1 file)
Files folder imageService (1 file)

  Files folder image Files  /  src  /  GameOThree  /  Core  /  Tests  /  Model  
File Role Description
  Plain text file GameTest.php Class Class source

  Files folder image Files  /  src  /  GameOThree  /  Core  /  Tests  /  Service  
File Role Description
  Plain text file GameManagerTest.php Class Class source

  Files folder image Files  /  web  
File Role Description
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login Plain text file app.php Example Example script
  Accessible without login Image file apple-touch-icon.png Icon Icon image
  Accessible without login Plain text file app_dev.php Example Example script
  Accessible without login Plain text file config.php Example Example script
  Accessible without login Image file favicon.ico Data Auxiliary data
  Accessible without login Plain text file robots.txt Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:48
This week:10
All time:10,068
This week:15Up

For more information send a message to info at phpclasses dot org.