"""Entry point"""
from src.view import viewfactory as vf

def main():
    """simple game loop to link a view with our model logic"""
    view = vf.factory_create()
    view.init()
    while 1:
        view.handle_events()
        view.update()
        view.display()
    view.quit()

if __name__ == '__main__':
    main()
"""Entry point"""
from src.view import viewfactory as vf

def main():
    """simple game loop to link a view with our model logic"""
    view = vf.factory_create()
    view.init()
    while 1:
        view.handle_events()
        view.update()
        view.display()
    view.quit()

if __name__ == '__main__':
    main()
Entry point simple game loop to link a view with our model logic