plateau.py 351 Bytes
Newer Older
Rémi PORÉE's avatar
Rémi PORÉE committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import numpy as np
import matplotlib.pyplot as plt

class Plateau (list) :

    def __init__ (self) :
        self.score = [0,0]
        self.nb_coup = 0

    def afficher (self) :
        for i in range(len(self)) :
            print("case n° {} :".format (i),self[i].cont)

if __name__ == "__main__":
    plateau = Plateau()
    plateau.afficher ()