code cleanup
add finish line and game end.