Moved game processing to windows form