Skip to content

ankitkohli/codingTest

Repository files navigation

1.This program is to create an achievement system for a fictional online game .

2.The game is played amongst 2 teams with equal number of player in each team.

3.Each player has a statistics associated with itself .The statistics are of 2 types 
historical & game wise.

4.The motive of the program is to calculate the achievements received by each player.

5."LetTheGameBegin.java" is the driver class of this program.It takes sample data of each player
where each player has some statistics with itself .

6.After this , achievement finder logic is called  that calculates achievement 
for each player and prints that to the console.

7.This program also has unit test cases .
These test cases basically checks the logic of each achievement provider.
Another test case to check the composition of teams
Another test case to check the achievement checker logic , if it returns the 
correct list of achievements.

8.New statistic Added is "Civilian Hits" -single game statistic that measures the 
 number of civilians killed.
 New achievement Added is "CitizenProtectorAward" . Logic for this award is that no. of 
 civilians killed should be less than 20% of Hits.  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages