Trolli Schmittlauch
|
88bf2f215a
|
moving enemyc, ownc out of global scope, expilicitly passed with every
function call
|
2015-03-13 10:09:10 +01:00 |
|
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
|
976efce0fd
|
switching off debugmode
|
2015-03-11 23:48:18 +01:00 |
|
Trolli Schmittlauch
|
7dede72f8f
|
choose random move
send move
|
2015-03-11 23:47:02 +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
|
ff7d0ffa7a
|
Fix: finding moves doesn't end at the end of row/col
|
2015-03-11 16:00:43 +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
|
0b61f2a2f5
|
Revert "getEnemyChar() in external file now working"
(forgot to add some files)
This reverts commit 96ab69ee24 .
|
2015-03-08 18:36:06 +01:00 |
|
Trolli Schmittlauch
|
96ab69ee24
|
getEnemyChar() in external file now working
|
2015-03-08 18:33:23 +01:00 |
|
Trolli Schmittlauch
|
61aa14398a
|
initial commit
|
2015-03-07 17:18:50 +01:00 |
|