What you do is build your gameplay with the absolute minimum of graphics. For example if you want to build a platformer, start with a red square for your player character, blue squares for enemies, brown boxes for terrain. Do the physics first and add your unique gameplay ideas, but with the absolute minimum of artwork. No sound or music (unless your gameplay ideas require them). Once you have something fun to play with in this state, then you can add art.