I was approached the other day by a guy who says he has 10 months C++ experience as opposed to my 10+ years experience, and asked me if I'd be willing to write him a small text-based role playing game. He gave me the specs and what he had done so far -- or rather, what a former guy did for him until he passed away mid-project, and tells me he's willing to pay me for my work. However, not having done freelance coding before, I'm not sure what to charge.
While I don't want to show any of the code just yet, I took a look at what this guy had and it looks written in C++03 with some rather bad coding habits such as multiple boolean type variables. I'm currently recoding it to be C++14 and use bitflags (I find std::bitset combined with an enum for index identification to be a bit easier than plain ints) before I start looking at what needs to be done.
Considering the size of the code this guy has already, and what he wants done, it's about 2-3 weeks worth of work. So my question is, given those considerations, what would be a good price for that?