alexandreelise / puissance4-php

Un portage en PHP du puissance 4 en C codé par un ami @LAVALLIERE sur https://github.com/LAVALLIERE/puissance4-c avec quelques goodies en plus.

Home Page:https://apiadept.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Puissance 4 en PHP


En Français:


Portage en PHP de la version du jeu Puissance 4 codé en C par un ami: Yannick LAVALLIÈRE dans son projet https://github.com/LAVALLIERE/puissance4-c.git

Pré-requis:

  • Etre à l'aise avec les lignes de commandes et le terminal
  • Avoir PHP 7.3 ou plus récent installé sur votre machine.
  • Avoir Git installé pour pouvoir cloner le dépôt (optionnel car vous pouvez télécharger le fichier zip du code source)

Instructions:

Dans votre terminal, tapez les commandes suivantes

git clone https://github.com/alexandreelise/puissance4-php.git \
 && cd puissance4-php \
 && php puissance4.php

Cela va exécuter le jeu en mode cli. Pour plus de modes de jeu, je vous invite à lire le code source. Vous y trouverez des fonctionnalités cachées. ;-)


In English:


A port in PHP of the Connect 4 game written in C by a friend: Yannick LAVALLIÈRE in his project https://github.com/LAVALLIERE/puissance4-c.git


Requirements:

  • Have a good grasp of terminal. At least basic knowledge of command line usage.
  • Have at least PHP version 7.3 or later installed on your machine
  • Have Git installed to clone the repo (optional because you can download the zip package of the source code instead)

Usage:

In your terminal, type the following commands

git clone https://github.com/alexandreelise/puissance4-php.git \
 && cd puissance4-php \
 && php puissance4.php

This will execute the cli game mode. For more game modes I invite you to read the code. You'll find hidden features. ;-)

About

Un portage en PHP du puissance 4 en C codé par un ami @LAVALLIERE sur https://github.com/LAVALLIERE/puissance4-c avec quelques goodies en plus.

https://apiadept.com

License:GNU Affero General Public License v3.0


Languages

Language:PHP 100.0%