completed the code in orc game file