Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tanguy Duvignac
formation
Commits
b9def3f4
Commit
b9def3f4
authored
Nov 11, 2020
by
Sarlat Thibaud
Browse files
merge
parents
1b93d788
f8780ede
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.py
View file @
b9def3f4
...
...
@@ -2,7 +2,6 @@ import sys
import
random
import
enum
class
Game
:
'''
Class principale pour la gestion du jeu
...
...
@@ -116,6 +115,9 @@ class Personnage:
def
is_alive
(
self
):
return
self
.
health
>
0
class
Action
(
enum
.
IntEnum
)
:
Attaque
=
0
Se_soigner
=
1
def
main
():
game
=
Game
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment