# Drag and drop game

**URL:** <https://forum.kirupa.com/t/drag-and-drop-game/308520>\
**Category:** flash\
**Created:** [April 24, 2010, 7:50pm UTC](https://forum.kirupa.com/t/drag-and-drop-game/308520 "2010-04-24T19:50:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chelle10](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@chelle10](https://forum.kirupa.com/u/chelle10)\
**Post date:** [April 24, 2010, 7:50pm UTC](https://forum.kirupa.com/t/drag-and-drop-game/308520/1 "2010-04-24T19:50:38Z")

</div>

Hi,  
I’ve created a drag and drop game,It’s almost complete but I would like to add up the score at the end. Programming isn’t really my strong point! :s Please can someone give me some guidance?

I was thinking it would be something along the lines of…

1. I need a variable? to store the number of correct answers
2. at the end the score will be shown.

I could do a dynamic text box, change the variable name, reference the variable name and at the start of the game make sure it equals 0 and each time a movie clip is in the correct target it adds 1 to it.  
then at the end another dynamic text box to show the overall score.

Lol - I wish I could just type that into Flash.

Anyway help is much apprieciated. I have a file attached…
