Don't understand/What happened
Well I'm 17 and I found out this girl at school (also 17) thought I was good looking. I discovered who it was and started talking to her one day, we got along really well and I became interested in her, and it was pretty clear she was a lot more interested in me even obsessed in a way, but she had a boyfriend. But she continued to flirt with me ,write notes and spend time with me. But less than a week before I meet her I had to leave on a trip for 10 days, she knew this and wrote a note saying don't miss me , etc. So the next day I left and as my phone was broking I had no way of keeping in contact with her, but she made an effort using my friends phones and so did I aventually. So we talked a bit and we still got along really well. But one night she rang me to tell me that she broke up with her boyfriend, which she told my friends it was mainly because of me. So the day I got home she text me and we talked, and she tried to organise a get together but I said no simply because I was to tired. But the day after I got back, I had to leave again on a trip for 4 days. So she continued to call me every day and we spoke for at least 30 minutes every time. So the following week school started and the first day we got along as expected, but at the end of the day she found out I hooked out with someone on the holidays which she became upset about and she thought I was going to ask her out. So the next day she was very standoffish and she told me she was sick and she went home. The next few days she was very reluctant to make an effort to spend time with me. So I confronted her and I apoligised for what I did, and I said I was only interested in her and it was a mistake, then she told me she was upset at the start but got over it, then she said she was not sure if she was ready for another relationship and that she wants to be independent and that they never work out, but she said she was confused in what she wanted. So I wanted to know what she was thinking regarding me, but she made excuses not to talk to me (e.g. doing my hair, homework... lies! ) so eventually I asked her what was going on, and she told me she just wants to be friends. So I said that's fine, fare enough and we moved on. But two weeks on she seems to be acting the way she did at the start (e.g. writing notes again trying to get my attention all the time)
But the problem is ,I've heard that in the past she has liked someone then got over them but then again wanted them back.
So my question is have I done something wrong or is she just playing me?