Search:

Type: Posts; User: zagi

Search: Search took 0.22 seconds.

  1. Replies
    5
    Views
    114

    Re: Min-Max AI works only when depth = 1

    I made my own version of this game and I want to implement min-max alghoritm, please check my code.
  2. Replies
    5
    Views
    114

    Re: Min-Max AI works only when depth = 1

    Cornix, 2048 this is the simple game. Here is a link to orginal version: 2048
    I made my 2048 game i java and i'm trying to add the best artifacial intelligence, but min-max don't work well. This...
  3. Replies
    5
    Views
    114

    Min-Max AI works only when depth = 1

    Here is my code:

    public static int minimax(int[][] board, int depth, boolean maximizingPlayer) {
    if(depth==0 || (!w && !s && !a && !d))
    return ocena(board); // evaluation method
    int[] r...
Results 1 to 3 of 3