Advanced Interactive Programming - C++ Quick Project
£10-20 GBP
着払い
The following is a short project which I need to be completely promptly.
You will be provided with a state diagram that shows the behaviour of an AI character within a game.
The AI class contains the data members tested within the transition guards, the member functions to test the guards and the Call-Backs which are invoked when the state is entered and simply display a message saying what the current state is.
The AI’s Update member function invokes the FSM’s Check member function through the pointer fsm ( a data member of AI).
Tasks 1 (60%)
1. Within a Visual Studio C++ project implement the AI Class.
2. Using the FSM, State, Transition & LinkedList classes developed during the practicals, implement the behaviour described within the State Diagram.
3. Within Main
a. Create an instance of AI passing it the arguments (true,100,20) to the constructor.
b. Invoke Update twice
c. Set the AI’s ammunition to zero
d. Invoke Update once
e. Set the AI’s health to zero
f. Invoke Update again
Task 2 (20%)
Create a Test Project within the same solution that tests all the transitions.
Task 3 (20%)
Create a new Project that is a copy of the solution to Task 1. Within this project make the changes necessary to give each state 2 call-backs – the existing call-back that is invoked when the FSM enters a new state and a new call-back that is invoked when the state exists. E.g. We currently have an OnCombat call-back that is invoked when the state moves into the Combat state. The new call-back OnLeaveCombat will be invoked when the FSM leaves the Combat State. The new call-backs simply display their name on the console. Use the same code within main to produce the following output.
See DOC file for al information
Commented code will be required
プロジェクトID: #5458893
プロジェクトについて
6人のフリーランサーが、平均£52 で、この仕事に入札しています。
Hi, I am C++ expert and can surely help you here with this project. Please communicate so we can discuss it further. Thank you
Hi! I am professional C/C++/C#/Java programmer. I can do this project with highest quality. Best Regards, Szymszteinsl
Requirements are clear. We also checked the attached document. We can do this for you and you will not regret this! Regards, SI
Hello there, I can help you with this project. Please check out my profile for reviews on other projects I've finished and contact me if you are interested. Thank you.
Hi, Friend. I have experience in C++ programming. I think I can help you if you can accept my price. Thanks.