fixed play_dp.rb