Commit graph

14 commits

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