From a50d3c7a68b5a63a8f734d84739d10a354097e90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20Gast=C3=A9?= <adrien.gaste@insa-rennes.fr>
Date: Fri, 12 Feb 2016 11:37:37 +0100
Subject: [PATCH] =?UTF-8?q?Repr=C3=A9sentation=20des=208=20pingouins?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 doc/Representation_Pingouins.txt | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 doc/Representation_Pingouins.txt

diff --git a/doc/Representation_Pingouins.txt b/doc/Representation_Pingouins.txt
new file mode 100644
index 0000000..4bae3b3
--- /dev/null
+++ b/doc/Representation_Pingouins.txt
@@ -0,0 +1,25 @@
+Nombre maximum de coups possibles par direction : 7 
+
+Structure 1 pingouin (bitlist sur 32 bits) :
++   +                      +                  +              +                   +
+| ??|Nb coups possibles ...|Nb coups possibles| Nombre total | Position sur      |
+|   |direction F           |direction A       | de coups     | le plateau (0-59) |
++------------------------------------------------------------+-------------------+
+ 2  |        3 bits              3 bits       |   6 bits           6 bits
+    |                                         |
+    |                                         |
+    +-----------------------------------------+
+                  18 bits
+
+
+
+==> 8 structures pingouin
+Nom des joueurs : Red, Blue
+
+3 bitboards pour les poissons
+==> OR des 3 bitboards : l'eau 
+
+Bitboard obstacles : 1 s'il y a un obstacle
+		     0 sinon
+
+==> ~Bitboard eau (OR 1 << Pos. pingouin1) (OR 1 << Pos. pingouin2)...(OR 1 << Pos. pingouin8)
-- 
GitLab