Universal crossplatform model of tetris game supporting different io sources.