Is there a bug? I fed it two nights full, one night half and fought it two nights sucessful. Still it said after five nights I fed it for five nights and the game ended.
You have to kill the monster (hp should be zero at the end of 5 nights) only then you get the good ending :)