#!/usr/bin/python from core.event import EventDispatcher from core.controller import KeyboardController, CPUIdler, MouseController from core.model import Environment from colorsgame.view import CGView from colorsgame.model import CGSimulation # Event dispatcher disp = EventDispatcher() # View v = CGView(disp, w=300, h=300, zoom=3) # Models s = CGSimulation(disp) # Controllers k = KeyboardController(disp) m = MouseController(disp) c = CPUIdler(disp) c.idle(50)