Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3.  
  4. """
  5. <--- pyMeta --->
  6. [pymeta]
  7. Executable, ce fichier permet l'initialisation du jeu
  8. """
  9.  
  10. # Importations
  11. import jeu as j
  12.  
  13. # Vues (différents contenus à afficher)
  14. vues = {
  15.     "menu":[1, ["Nouvelle partie (n)","Quitter (q)"]],
  16.     "plateau":[2, []],
  17.     "messages":[1, [""]]
  18.     }
  19.  
  20. # Initialisation du plateau
  21. Plateau = []
  22.  
  23. # Main
  24. cmd = None
  25. while 1:
  26.     cmd = j.jouer(cmd, vues, Plateau)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement