Commit 3ab09f4c authored by Quentin's avatar Quentin
Browse files

add main example

parent 12e1fcea
/**
* Main file
* X12I040 - Introduction au développement logiciel
* Quentin Tonneau - 2018
*/
import * as Pokedex from "./pokedex"
import { Player } from "./player";
import { battle } from "./battle";
//Déclaration de trois joueurs
let sacha : Player = {name : "Sacha", pokemons : [Pokedex.Bulbizare, Pokedex.Empiflor, Pokedex.Ortide]};
let regis : Player = {name : "Régis", pokemons : [Pokedex.Salameche, Pokedex.Goupix, Pokedex.Pyroli]};
let jessie : Player = {name : "Jessie", pokemons : [Pokedex.Carapuce, Pokedex.Krabby, Pokedex.Tentacool]};
battle(sacha, jessie);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment