Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ahak14 committed May 8, 2019
2 parents 57869d4 + 22ad870 commit ab80b5b
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 80 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 1 addition & 12 deletions src/models/Cell.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

public class Cell {

private Coordination coordination;
private Coordination coordination=new Coordination();
private Card card;
private Item item;
private boolean isThereFlag = false;

public Card getCard() {
Expand All @@ -17,16 +16,6 @@ public void setCard(Card card) {
this.card = card;
}

public Item getItem() {

return item;
}

public void setItem(Item item) {

this.item = item;
}

public boolean isThereFlag() {

return isThereFlag;
Expand Down
7 changes: 0 additions & 7 deletions src/models/Collectible.java

This file was deleted.

1 change: 0 additions & 1 deletion src/models/Deck.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ public class Deck implements Serializable {
private String deckName;
private ArrayList<Card> cards = new ArrayList<>();
private int maxCardNumber;
private Item item;
private Hand hand = new Hand();

public String getDeckName() {
Expand Down
11 changes: 0 additions & 11 deletions src/models/Item.java

This file was deleted.

37 changes: 0 additions & 37 deletions src/models/Shop.java

This file was deleted.

1 change: 1 addition & 0 deletions src/models/Table.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public Table() {
for (int row = 0; row < ROWS; row++) {
for (int column = 0; column < COLUMNS; column++) {

cells[row][column] = new Cell();
cells[row][column].setCoordination(row, column);
}
}
Expand Down
9 changes: 0 additions & 9 deletions src/models/Usable.java

This file was deleted.

68 changes: 66 additions & 2 deletions testCase.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
create account erfan
erfan
enter shop
buy total_disarm
buy lighting_bolt
buy all_disarm
buy all_poison
buy dispel
buy sacrifice
buy shock

buy white_demon
buy soul_eater

buy iraj
buy iraj
buy arjang
buy big_giant
buy panther
buy siavash
buy iraj
buy iraj
buy iraj
buy big_giant
buy panther
buy big_giant
buy panther
exit
enter collection
create deck mode1
add erfan_total_disarm_1 to deck mode1
add erfan_lighting_bolt_1 to deck mode1
add erfan_all_disarm_1 to deck mode1
add erfan_all_poison_1 to deck mode1
add erfan_dispel_1 to deck mode1
add erfan_sacrifice_1 to deck mode1
add erfan_shock_1 to deck mode1

add erfan_white_demon_1 to deck mode1
add erfan_soul_eater_1 to deck mode1

add erfan_iraj_1 to deck mode1
add erfan_iraj_2 to deck mode1
add erfan_arjang_1 to deck mode1
add erfan_big_giant_1 to deck mode1
add erfan_panther_1 to deck mode1
add erfan_siavash_1 to deck mode1
add erfan_iraj_3 to deck mode1
add erfan_iraj_4 to deck mode1
add erfan_iraj_5 to deck mode1
add erfan_big_giant_2 to deck mode1
add erfan_panther_2 to deck mode1
add erfan_big_giant_3 to deck mode1
add erfan_panther_3 to deck mode1

select deck mode1
exit
enter loginmenu
save
logout
create account ali
ali
enter shop
Expand Down Expand Up @@ -52,5 +112,9 @@ add ali_big_giant_2 to deck mode1
add ali_panther_2 to deck mode1
add ali_big_giant_3 to deck mode1
add ali_panther_3 to deck mode1

select deck mode1
select deck mode1
exit
enter battle
2
select user erfan
start multiplayer game 1

0 comments on commit ab80b5b

Please sign in to comment.