a dp solution for wining game