Search:

Type: Posts; User: walid

Page 1 of 2 1 2

Search: Search took 0.12 seconds.

  1. Replies
    11
    Views
    2,176

    Re: Line of Action Game Help plz

    can you tell me a another way to check the winner with connected checkers and i make in the move method if your destination is the opponent decrement the number of checkers of the opponent
  2. Replies
    11
    Views
    2,176

    Re: Line of Action Game Help plz

    sorry how can i post my code formatting
    and what code can i posted the testing or my code
  3. Replies
    11
    Views
    2,176

    Re: Line of Action Game Help plz

    no will be 4 squares but the game Board is constant 8*8 my problem with the recursion method can you check it . i made another boolean array to check if this piece is counted turn it into true. ??!!
  4. Replies
    11
    Views
    2,176

    Re: Line of Action Game Help plz

    No it supposed to check the 8 squares everywhere in 2D array not only in the middle

    --- Update ---

    ??
  5. Replies
    11
    Views
    2,176

    Re: Line of Action Game Help plz

    in method isGameOver i made a loop on boolean array to catch the first piece count around region in 8 direction . can you tell me another idea to count the around region to count the connected...
  6. Replies
    11
    Views
    2,176

    Line of Action Game Help plz

    Lines of Action is a two player strategy board game where each player aims to connect all his/her checkers
    into one group. The board is a standard 88 chessboard. The game starts with each player...
  7. Replies
    9
    Views
    5,638

    Re: blue arrow in junit

    i don't know how to use the debugging
  8. Replies
    9
    Views
    5,638

    Re: blue arrow in junit

    there is an infinite loop i can't find it.

    --- Update ---

    loop has no end

    --- Update ---

    any one help plz
  9. Replies
    9
    Views
    5,638

    Re: blue arrow in junit

    sorry it is an blue arrow appears when i run my tests using Junit
  10. Replies
    9
    Views
    5,638

    blue arrow in junit

    please any one help me with fixing an blue arrow appears while running my project tests

    --- Update ---

    can you help me Norm
  11. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    can you check the test class ?

    --- Update ---

    h get the values from the user
  12. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    how can i assign values to h?
  13. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    why?
  14. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    the value null
    null
    null
    ......and so on 19 null value

    --- Update ---

    ?
  15. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    [
    instance.setSkills(skills);
    Champion target = new Champion("Annie", attributes, 500, 400);
    instance.useSkill(target, 0, true);
    assertEquals("Target should lose health as expected", 383,...
  16. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    can u write it down to understand
  17. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    in which class?

    --- Update ---

    ?
  18. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    i don't know

    --- Update ---

    please can you tell me what i have to do to fix it, sorry?
  19. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    h is a hashmap with key(strings) and value(boolean)

    --- Update ---

    ?
  20. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    public void setBasic(boolean ba){
    h.put("Basic", ba);
    }

    you mean the variable basic
  21. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    There is no variable with a null value on line 30. check it plz
  22. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    all the errors in test class

    --- Update ---

    java.lang.NullPointerException
    at eg.edu.guc.lol.game.champions.Skill.setBasic(Skill.java:30)
    at...
  23. Replies
    27
    Views
    2,860

    Re: i need help with my code plz

    t
    }
    [/code]
  24. Replies
    27
    Views
    2,860

    i need help with my code plz

    }
    public void setStunned(boolean stun){
    stunning = stun;
    }
    public int getMaxMana() {
    return maximumMana;
    }
    public int getCurrentHealth() {
    return currentHealth1;
    }
Results 1 to 24 of 28
Page 1 of 2 1 2