hi I want you to write a drag and drop code for a puzzle game for android and ios projects
and it must work with mouse and touch in 2d project contains everything below
instructions:
1- I can add as many items and slots as I can, each item has his own slot
2- when the item dropped in the wrong slot it :
- play AudioSource
-shake a little then it back to his original place
- Behind codes: sum points = points - 1 point
3- when item dropped in the right slot
- play AudioSource
-after audio source finish play video 3 times
- after video finish [login to view URL](true)
- gained points = sum points
- current points = gained points +current points
-register this (level) as played + first gained points (this level can played manytime but first gained points only registered one)
-save playerpreformance
note: i except this can be finishing in 1 day or 2 days max