Terrible grade in undergraduate research project, how will this affect graduate admissions?
Do you think I have a chance?


Yes. 

I was accepted to a masters program with some bad grades on my undergraduate transcript, some courses with less then 40% marks. In graduate school I got a distinction and now I'm a postdoc.

Doing poorly in a single course won't ostracize you from all graduate schools.