# Search:

Type: Posts; User: captain_turkiye

1. ## Thread: help for connect four with minimax algorithm

by captain_turkiye
Replies
14
Views
1,136

### Re: help for connect four with minimax algorithm

Is there anyone who knew this algorithm already and help me? i thought this algorithm is more popular.
2. ## Thread: help for connect four with minimax algorithm

by captain_turkiye
Replies
14
Views
1,136

### Re: help for connect four with minimax algorithm

i try to use minimax in this link:

Extra Credit Algorithm Walkthroughs
3. ## Thread: help for connect four with minimax algorithm

by captain_turkiye
Replies
14
Views
1,136

### Re: help for connect four with minimax algorithm

i initialize move and value with -99 and they print -99. should functions(min and max) returns state or int?
4. ## Thread: help for connect four with minimax algorithm

by captain_turkiye
Replies
14
Views
1,136

### Re: help for connect four with minimax algorithm

I do nothing out of these functions. 0's are initial values. in main i only do this:

State temp_state = new State();
temp_state.state=board;
x=AlphaBetaSearch(temp_state);
5. ## Thread: help for connect four with minimax algorithm

by captain_turkiye
Replies
14
Views
1,136

### Re: help for connect four with minimax algorithm

i think i should return just state, now i lose moves. and i guess i call evalution function in wrong place.

i changed my code in this way, now state value and move are print 0.

public...
6. ## Thread: help for connect four with minimax algorithm

by captain_turkiye
Replies
14
Views
1,136

### Re: help for connect four with minimax algorithm

i changed my code a little. i think i should return state's. and add println in 3. for in max and min

public static int AlphaBetaSearch(State state){
state.value =...
7. ## Thread: help for connect four with minimax algorithm

by captain_turkiye
Replies
14
Views
1,136

### Re: help for connect four with minimax algorithm

when i write this in begining of min function(same in max):

if(depth>-1)
System.out.println("depth min: "+depth);

and write this in alpha-beta before return
8. ## Thread: help for connect four with minimax algorithm

by captain_turkiye
Replies
14
Views
1,136

### help for connect four with minimax algorithm

i try to write connect four game with ai. my alpha-beta function should return move(column number) but it always returns 0. also there is another problem, when i remove comments in if states(in min...
9. ## Thread: help with my bank account program

by captain_turkiye
Replies
3
Views
1,654

### Re: help with my bank account program

could i write this way?

account[] acc= new account[10];

public void createaccount(int a){

Scanner input = new Scanner(System.in);
10. ## Thread: help with my bank account program

by captain_turkiye
Replies
3
Views
1,654

### Re: help with my bank account program

how can i use array list. can i write this?

ArrayList acc = new ArrayList();

11. ## Thread: help with my bank account program

by captain_turkiye
Replies
3
Views
1,654

### help with my bank account program

i want write program for add new account, deposit money, withdraw money, transfer between accounts and display interest.

public void createaccount(){

Scanner input = new...
Results 1 to 11 of 11