Advanced Interactive Programming - C++ Quick Project

完了済み 投稿 Feb 19, 2014 着払い
完了済み 着払い

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

C++プログラミング

プロジェクトID: #5458893

プロジェクトについて

6個の提案 リモートプロジェクト アクティブ Feb 21, 2014

アワード:

Jraml

I am a computer scientist graduated at University of Havana. I am expert in programming languages like C, C++, C#, Java. I also have years of experience programming in Visual Studio. I can make a fast, high qualified, もっと

£21 GBP 1日以内
(0レビュー)
2.5

6人のフリーランサーが、平均£52 で、この仕事に入札しています。

dobreiiita

Hi, I am C++ expert and can surely help you here with this project. Please communicate so we can discuss it further. Thank you

£149 GBP 5日以内
(113件のレビュー)
6.0
szymszteinsl

Hi! I am professional C/C++/C#/Java programmer. I can do this project with highest quality. Best Regards, Szymszteinsl

£36 GBP 1日以内
(12件のレビュー)
5.8
akhila27

Requirements are clear. We also checked the attached document. We can do this for you and you will not regret this! Regards, SI

£103 GBP 21日以内
(9件のレビュー)
5.5
msabouri

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.

£39 GBP 1日以内
(30件のレビュー)
5.2
KingOfPhoenix

Hi, Friend. I have experience in C++ programming. I think I can help you if you can accept my price. Thanks.

£82 GBP 1日以内
(4件のレビュー)
4.4
jasqwerty

Hey Jack, if you want this done fast, safe and right, without having your project outsourced to someone else by an Indian lead hunter, I have commercial experience coding in C++, as well as teaching in a university set もっと

£39 GBP 1日以内
(9件のレビュー)
4.3
Jimnik

A proposal has not yet been provided

£18 GBP 10日以内
(2件のレビュー)
3.7
tulebaev

A proposal has not yet been provided

£50 GBP 10日以内
(2件のレビュー)
1.2