| 
							
						 | 
						
							
							
							
							
								
							
							
								4dd39b5e79
								
							
						 | 
						
							
							
								
								theorethisch, aber npraktisch doch nicht funktionierender MiniMax
							
							
							
							
							
							
							
							Algorithmus 
							
						 | 
						
							2015-03-13 04:06:26 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								903e559856
								
							
						 | 
						
							
							
								
								calculate, how many turn options the enemy has in the next move
							
							
							
							
							
						 | 
						
							2015-03-12 22:52:29 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								3db8240997
								
							
						 | 
						
							
							
								
								added int isCOrXField()
							
							
							
							
							
						 | 
						
							2015-03-12 17:09:34 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								661e57519e
								
							
						 | 
						
							
							
								
								int isCornerMove(move) returns whether move is placed in a corner or not
							
							
							
							
							
						 | 
						
							2015-03-12 15:56:23 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								76981af571
								
							
						 | 
						
							
							
								
								begin work on strategic my-player
							
							
							
							
							
							
							
							numX, numO contains number of X/O stones 
							
						 | 
						
							2015-03-12 15:23:47 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								27d563173e
								
							
						 | 
						
							
							
								
								findMoves() now calls all other find(...)Moves()
							
							
							
							
							
						 | 
						
							2015-03-12 11:50:39 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								976efce0fd
								
							
						 | 
						
							
							
								
								switching off debugmode
							
							
							
							
							
						 | 
						
							2015-03-11 23:48:18 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								7dede72f8f
								
							
						 | 
						
							
							
								
								choose random move
							
							
							
							
							
							
							
							send move 
							
						 | 
						
							2015-03-11 23:47:02 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								48400b8ce2
								
							
						 | 
						
							
							
								
								replace fieldWidth and fieldHeight with fieldSize (field is a square)
							
							
							
							
							
						 | 
						
							2015-03-11 23:29:56 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								8ac7a59a34
								
							
						 | 
						
							
							
								
								added iterating diagonally
							
							
							
							
							
						 | 
						
							2015-03-11 23:26:52 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								ff7d0ffa7a
								
							
						 | 
						
							
							
								
								Fix: finding moves doesn't end at the end of row/col
							
							
							
							
							
						 | 
						
							2015-03-11 16:00:43 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								a9399ddf06
								
							
						 | 
						
							
							
								
								find vertical and horizontal moves, forwards and backwards
							
							
							
							
							
						 | 
						
							2015-03-11 15:52:48 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								9b291a2c19
								
							
						 | 
						
							
							
								
								now able to find all vertical forward moves
							
							
							
							
							
						 | 
						
							2015-03-11 11:28:20 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								a063a74537
								
							
						 | 
						
							
							
								
								parsing state_buffer into an 2d array
							
							
							
							
							
						 | 
						
							2015-03-10 13:54:11 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								b344e39e82
								
							
						 | 
						
							
							
								
								enemyc contains char of enemy
							
							
							
							
							
							
							
							moved enemyc outside of main file 
							
						 | 
						
							2015-03-08 19:16:27 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								b8ba70b0de
								
							
						 | 
						
							
							
								
								added gitignore
							
							
							
							
							
							
							
							modified Makefile to compile external lib playerlib.cc
added geteEnemyChar() 
							
						 | 
						
							2015-03-08 18:40:31 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						| 
							
						 | 
						
							
							
							
							
								
							
							
								61aa14398a
								
							
						 | 
						
							
							
								
								initial commit
							
							
							
							
							
						 | 
						
							2015-03-07 17:18:50 +01:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 |