Assignment Link: https://ocw.cs.pub.ro/courses/poo-ca-cd/teme/tema
- src/
- checker/ - checker files
- fileio/ - contains classes used to read data from the json files
- main/
- Main - the Main class runs the checker on your implementation. Add the entry point to your implementation in it. Run Main to test your implementation from the IDE or from command line.
- Test - run the main method from Test class with the name of the input file from the command line and the result will be written to the out.txt file. Thus, you can compare this result with ref.
- input/ - contains the tests in JSON format
- ref/ - contains all reference output for the tests in JSON format
- test01_game_start - 3p
- test02_place_card - 4p
- test03_place_card_invalid - 4p
- test04_use_env_card - 4p
- test05_use_env_card_invalid - 4p
- test06_attack_card - 4p
- test07_attack_card_invalid - 4p
- test08_use_card_ability - 4p
- test09_use_card_ability_invalid -4p
- test10_attack_hero - 4p
- test11_attack_hero_invalid - 4p
- test12_use_hero_ability_1 - 4p
- test13_use_hero_ability_2 - 4p
- test14_use_hero_ability_1_invalid - 4p
- test15_use_hero_ability_2_invalid - 4p
- test16_multiple_games_valid - 5p
- test17_multiple_games_invalid - 6p
- test18_big_game - 10p