daniels game attempt at programming