/*
 * This source file was generated by the Gradle 'init' task
 */
package org;

import org.Controllers.IO;
import org.Models.Grille;
import org.Models.Jeu;
import org.Views.VueTetris;

public class App {

    public String getGreeting() {
        return "Hello World!";
    }

    public static void main(String[] args) {

        // Models
        Grille grille = new Grille(20, 10);
        Jeu jeu = new Jeu(grille);

        // Views
        VueTetris vueTetris = new VueTetris(grille, jeu);

        // Controllers
        IO io = new IO(jeu);
        vueTetris.addKeyListener(io);
    }
}