Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
- """
- <--- pyMeta --->
- [pymeta]
- Executable, ce fichier permet l'initialisation du jeu
- """
- # Importations
- import jeu as j
- # Vues (différents contenus à afficher)
- vues = {
- "menu":[1, ["Nouvelle partie (n)","Quitter (q)"]],
- "plateau":[2, []],
- "messages":[1, [""]]
- }
- # Initialisation du plateau
- Plateau = []
- # Main
- cmd = None
- while 1:
- cmd = j.jouer(cmd, vues, Plateau)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement