M217-PT-echesstria/README.md

106 lines
7.5 KiB
Markdown
Raw Normal View History

2019-05-22 09:19:56 +02:00
# e-Chesstria - Projet Tutoré Equipe [G00D3N0UGHT](https://git-iutinfo.unice.fr/good3nought) Semestre 2
2019-08-14 23:27:14 +02:00
![logo](https://github.com/JunkJumper/e-chesstria/raw/master/logo.png "e-Chesstria logo")
2019-05-22 09:30:31 +02:00
2019-08-19 16:35:11 +02:00
## Table of content
2019-08-19 16:35:11 +02:00
1. **[Description](https://github.com/JunkJumper/e-chesstria#description-back-to-table-of-content)**
2019-08-19 16:45:27 +02:00
2. **[Requirements](https://github.com/JunkJumper/e-chesstria#requirements-back-to-table-of-content)**
2019-08-19 16:35:11 +02:00
3. **[Installation](https://github.com/JunkJumper/e-chesstria#installation-back-to-table-of-content)**
2019-08-19 16:45:27 +02:00
4. **[Commandes](https://github.com/JunkJumper/e-chesstria#commands-back-to-table-of-content)**
2019-08-19 16:35:11 +02:00
6. **[Règles des échecs](https://github.com/JunkJumper/e-chesstria#r%C3%A8gles-du-jeu-d%C3%A9chec-back-to-table-of-content)**
7. **[Crédits](https://github.com/JunkJumper/e-chesstria#cr%C3%A9dits-back-to-table-of-content)**
8. **[License](https://github.com/JunkJumper/e-chesstria#license-back-to-table-of-content)**
2019-08-19 16:35:11 +02:00
## Description [[back to table of content]](https://github.com/JunkJumper/e-chesstria#table-of-content)
2019-03-12 10:12:37 +01:00
2019-08-19 16:35:11 +02:00
~~Serious~~equestrian school project from "[Good 3nough Team](https://git-iutinfo.unice.fr/good3nought)" group.
2019-05-21 15:53:09 +02:00
2019-08-19 16:35:11 +02:00
## Requirements [[back to table of content]](https://github.com/JunkJumper/e-chesstria#table-of-content)
2019-05-22 08:54:02 +02:00
2019-08-19 16:35:11 +02:00
This project requires a [java JDK SE 1.8](https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) **up to date** to build and a [java JRE](https://java.com/fr/download/manual.jsp) **up to date** tu launch and run the game. If you don't know chess rulling, you can checkout [chess rules](https://github.com/JunkJumper/e-chesstria#r%C3%A8gles-du-jeu-d%C3%A9chec-back-to-table-of-content).
2019-05-22 08:54:02 +02:00
2019-08-19 16:35:11 +02:00
## Installation [[back to table of content]](https://github.com/JunkJumper/e-chesstria#table-of-content)
2019-05-21 15:53:09 +02:00
2019-08-19 16:45:27 +02:00
Firstly, you have to clone the repo using
2019-05-27 11:43:48 +02:00
```
git clone https://github.com/JunkJumper/e-chesstria.git
2019-05-27 11:43:48 +02:00
```
2019-08-19 16:45:27 +02:00
After that, you can compile the project by using a terminal prompt or using IDE's GUI compiler such as [Eclipse](https://www.eclipse.org/downloads/).
2019-05-23 10:05:14 +02:00
2019-08-19 16:45:27 +02:00
## Commands [[back to table of content]](https://github.com/JunkJumper/e-chesstria#table-of-content)
2019-05-20 21:23:13 +02:00
2019-08-19 16:45:27 +02:00
To play the game, you have to type the name of the two players. If one are blank, the game will put the default name (like "Default Player No1").
2019-05-22 09:45:09 +02:00
![logo](https://github.com/JunkJumper/e-chesstria/raw/master/imgs/joueurs.PNG)
2019-05-22 09:43:43 +02:00
2019-08-19 16:45:27 +02:00
After that, you have to choose what side each player will take, white or black. You can let the game choose for you. If there are no selection, the game will choose for you.
2019-05-22 09:45:09 +02:00
![logo](https://github.com/JunkJumper/e-chesstria/raw/master/imgs/choix-c.PNG)
2019-05-22 09:55:06 +02:00
2019-08-19 16:45:27 +02:00
The game will began by displaying the chessfield and the current player name.
2019-05-22 09:55:06 +02:00
![logo](https://github.com/JunkJumper/e-chesstria/raw/master/imgs/echi1.PNG)
2019-05-22 09:55:06 +02:00
2019-08-19 16:45:27 +02:00
The game will ask you to type two positions : the first one is one of the current alives chess pieces of you side and the second one is the destination position.
2019-05-22 09:43:43 +02:00
![logo](https://github.com/JunkJumper/e-chesstria/raw/master/imgs/pos-E.PNG)
2019-05-22 10:04:16 +02:00
2019-08-19 16:45:27 +02:00
The game will display again the chessfield and will ask you to do the previous actions until one of the two players will be defeated.
2019-08-19 16:35:11 +02:00
## Règles du jeu d'échec [[back to table of content]](https://github.com/JunkJumper/e-chesstria#table-of-content)
> source [http://www.echecs.club/regles/](http://www.echecs.club/regles/) (voir [crédits](https://github.com/JunkJumper/e-chesstria#cr%C3%A9dits-back-to-table-of-content))
2019-05-23 10:35:49 +02:00
2019-05-23 10:48:05 +02:00
### Déroulement du jeu
2019-05-23 10:35:49 +02:00
2019-05-23 10:48:05 +02:00
Au début dune partie déchecs, ce sont toujours les blancs qui commencent. Lors dun tour de jeu, le joueur peut effectuer soit un déplacement, soit une prise soit un coup spécial.
2019-05-23 10:35:49 +02:00
2019-05-23 10:48:05 +02:00
### But du jeu
Ces différents déplacements sont proposées aux joueurs pour parvenir à réaliser leur objectif qui est de prendre le roi adverse. Lorsque ce but est atteint, le joueur qui y est parvenu gagne immédiatement la partie qui prend fin automatiquement.
### Échec
Chaque fois que vous pouvez prendre le roi de votre adversaire à votre prochain coup, vous devez le prévenir en annonçant « échec ». Il doit alors tenter de parer votre échec, lors de son tour de jeu.
### Échec et mat
Sil ny parvient pas, son roi est alors « échec et mat ». Vous remportez donc la partie.
2019-08-19 16:35:11 +02:00
Pour plus d'informations sur les règles, visitez [ce site](http://www.echecs.club/regles/) ou visitez les [crédits](https://github.com/JunkJumper/e-chesstria#cr%C3%A9dits-back-to-table-of-content).
2019-05-23 10:35:49 +02:00
2019-05-27 19:04:55 +02:00
### Vous trouverez ici un tableau résumant les pièces :
2019-05-27 17:56:31 +02:00
2019-05-27 18:17:49 +02:00
| Pièce | Lettre |
2019-05-27 17:56:31 +02:00
|:---------:|:--------:|
|Cavalier | C |
|Fou | F |
|Pion | P |
|Reine | Q |
|Roi | K |
|Tour | T |
La lettre ``B`` signifie qu'une pièce est de couleur blanche et la lettre ``N`` signifie qu'une pièce est de couleur noire.
2019-08-19 16:35:11 +02:00
## Crédits [[back to table of content]](https://github.com/JunkJumper/e-chesstria#table-of-content)
2019-05-27 18:19:03 +02:00
| Peronne ou Source | Role |
2019-05-23 11:00:13 +02:00
| :-------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------:|
2019-05-23 10:58:42 +02:00
| [ALEXOVITZ Anthony](https://git-iutinfo.unice.fr/aa700867) | Conception et Développement |
| [NOWICKI Johann](https://git-iutinfo.unice.fr/nj715143) | Conception et Développement |
2019-05-25 11:16:30 +02:00
| [RELEVAT Chiara](https://git-iutinfo.unice.fr/rc804998) | Secrétariat, Conception et Développement |
| [SRIFI Jose](https://git-iutinfo.unice.fr/sj801446) | Chef de projet, Conception et Développement |
2019-05-23 10:58:42 +02:00
| [THEBAULT Manon](https://git-iutinfo.unice.fr/tm802036) | Conception et Développement |
2019-05-23 11:02:56 +02:00
| |
2019-05-23 10:58:42 +02:00
| [PRITCHARD Adam](https://github.com/adam-p) | [Utilisation](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) & syntaxe Markdown |
| [http://www.echecs.club](http://www.echecs.club) | [Règles](http://www.echecs.club/regles/) du jeu d'échec |
2019-05-23 10:48:05 +02:00
2019-05-20 21:23:13 +02:00
2019-08-19 16:35:11 +02:00
## License [[back to table of content]](https://github.com/JunkJumper/e-chesstria#table-of-content)
2019-05-23 10:05:14 +02:00
[![logo](https://licensebuttons.net/l/by/4.0/88x31.png)](https://creativecommons.org/licenses/by/4.0/) This project is available under the terms of the [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/) (or check [LICENSE.md](https://github.com/JunkJumper/e-chesstria/blob/master/LICENSE.md)).
2019-05-27 12:12:57 +02:00
[![logo](https://github.com/JunkJumper/e-chesstria/raw/master/imgs/gitalab.PNG)](https://gitlab.com/gitlab-org) [![logo](https://github.com/JunkJumper/e-chesstria/raw/master/imgs/git.PNG)](https://git-scm.com/) [![logo](https://github.com/JunkJumper/e-chesstria/raw/master/imgs/java.PNG)](https://www.java.com/fr/download/)