finished code combat