1// 🏝️ Université des Antilles - Action Figure Generator
2class ActionFigureIUT {
3 constructor(etudiant, formation) {
4 this.nom = etudiant.nom;
5 this.formation = formation; // BUT Informatique
6 this.competences = [];
7 this.projets = [];
8 this.niveau = 'Débutant Motivé';
9 this.localisation = 'Martinique 🌺';
10 }
12 ajouterCompetence(skill) {
13 this.competences.push(skill);
14 console.log(`💪 Nouvelle compétence: ${skill}`);
15 }
17 creerProjet(nom, techStack) {
18 const projet = {
19 nom: nom,
20 technologies: techStack,
21 statut: 'En cours',
22 inspiration: 'Caraïbes 🌊'
23 };
24 this.projets.push(projet);
25 return projet;
26 }
28 evoluer() {
29 if (this.competences.length >= 5) {
30 this.niveau = 'Développeur Junior';
31 }
32 if (this.projets.length >= 3) {
33 this.niveau = 'Développeur Confirmé';
34 }
35 return this.niveau;
36 }
38 genererActionFigure() {
39 return {
40 nom: this.nom,
41 classe: 'Cyber-Étudiant Créole',
42 niveau: this.evoluer(),
43 equipement: [
44 '💻 MacBook Pro',
45 '☕ Café créole',
46 '🌴 Esprit caribéen',
47 '🚀 Motivation infinie'
48 ],
49 pouvoirSpecial: 'Code sous les palmiers',
50 resistance: {
51 chaleur: 100,
52 humidity: 95,
53 pannesCourant: 80
54 }
55 };
56 }
57}