amirmehrvarz, everyone here knows that it can be hard and frustrating at times to develop a game, especially when you lack the knowledge to achieve your goal. We've all been there, and many won't get past that stage.
However, this forum is NOT meant for you to come and get others to write your code! We are here to help you with a particular problem to give you the info you need to solve the problem on your own. This way you can also learn something from it, because, when you simply copy and paste solutions you will never learn anything from it, which also means that you are always going to depend on others to help you. We don't encourage this hear, however, if you really can't do it on your own and you desperately need the code, there is always the possibly to make a posting in the Jobs offered forum and offer someone money for their time (because even if you know how to solve something, you still need time to implement it. Ask yourself, would you work for free for someone you don't know?)
I would like to ask you to stop asking directly for someone to write your code, instead either post what you have tried and what isn't working or, like already mentioned, open a thread in the jobs offered posting.