Commit Graph

53 Commits

Author SHA1 Message Date
Thefeli73
cc693ee83d some fixes, big work on devsociety and get_best_ 2020-10-07 04:04:39 +02:00
Thefeli73
9f759e8d21 purge premade code 2020-10-07 00:24:15 +02:00
Thefeli73
1d238ecc2f clean some code 2020-10-06 22:53:27 +02:00
Thefeli73
1bb5ba898d decision logic, income, best upgrade/residence functions 2020-10-06 05:06:04 +02:00
Thefeli73
9ae3b54c41 move function 2020-10-06 02:02:28 +02:00
Thefeli73
2cda0a08b7 decision engine rework 2020-10-06 01:49:23 +02:00
Thefeli73
8309d2938c adjust energy ta hänsyn till upgrades 2020-10-06 01:49:09 +02:00
Thefeli73
db7c1c05be brain mechanics 2020-10-06 00:18:36 +02:00
Thefeli73
9713be3eaf kommentera trash metoden, optimizations, jobb på decision engine 2020-10-05 22:58:09 +02:00
Thefeli73
638ebcfd72 change energy return (wasted wait()) 2020-10-05 21:35:34 +02:00
Thefeli73
a830dd5d81 refactor and clear up code (whitespaces etc) 2020-10-05 21:35:14 +02:00
Thefeli73
3b55e5a597 refactor available tiles 2020-10-05 21:21:25 +02:00
Thefeli73
876036fbe9 time out building new residences 2020-10-05 20:54:41 +02:00
Thefeli73
a9ce9a9678 update construction status faster 2020-10-05 19:54:12 +02:00
Thefeli73
3f678f69d7 refactor variables, move code and use "state" 2020-10-05 19:33:37 +02:00
Thefeli73
de2b5181e0 hitta "average" tile och sortera tiles utifrån avstånd till average 2020-10-05 18:29:35 +02:00
Thefeli73
c2d40778f0 wrapper så man kan köra många games i rad (ej paralaliserad) 2020-10-05 18:28:59 +02:00
Thefeli73
36521b7bf7 flytta lite kod 2020-10-05 16:43:52 +02:00
Thefeli73
8408f8f0a0 purge linus_taketurn code 2020-10-05 16:42:31 +02:00
Thefeli73
143a5dbecf flytta upp dev society & need attention i koden 2020-10-05 16:41:09 +02:00
Thefeli73
0833b843a3 check if structures are available before building 2020-10-04 17:54:41 +02:00
Thefeli73
0a8934c974 testing buildings in develop 2020-10-04 17:54:10 +02:00
Thefeli73
f5f694df3e construct utility buildings fix 2020-10-04 17:52:27 +02:00
Thefeli73
6cf041c70e relative roundsenergy, build stuff HS, auto maintainance 2020-10-04 15:38:12 +02:00
Thefeli73
93507eb58d Merge branch 'Ny-Energy-formula' into felix-lek 2020-10-04 14:27:09 +02:00
Thefeli73
cb2f1999d9 energy WORKING ema temp sak 2020-10-04 14:23:50 +02:00
Thefeli73
0c49a3fb37 lek med energy formel rounds between energy 2020-10-04 13:53:53 +02:00
linhara
f4dd5073c6 linus nästan bra adjustEnergy 2020-10-04 13:02:32 +02:00
linhara
849542dd03 linus skit 2020-10-04 13:01:13 +02:00
linhara
8b6eb1abb2 linus take turn big 2020-10-04 12:26:34 +02:00
Thefeli73
04e5fac165 Construction residences work 2020-10-04 05:00:23 +02:00
Thefeli73
0918549cfb build structure function (working ish?) and develop society to test it 2020-10-04 03:17:11 +02:00
Thefeli73
942dc02331 optimize fun 2020-10-04 03:16:13 +02:00
Thefeli73
6aa69eb842 global vars 2020-10-04 03:15:32 +02:00
Thefeli73
b484d9ef73 adjust energy function, attention and develop function 2020-10-03 23:01:43 +02:00
Thefeli73
5672c340ae 70s timeout 2020-10-03 22:59:47 +02:00
Thefeli73
38451297a5 map functions and exception fix 2020-10-03 20:06:28 +02:00
Thefeli73
c5f8526740 flytta variabel och take turn 2020-10-03 19:48:31 +02:00
linhara
deca6713fb Merge remote-tracking branch 'origin/felix-lek' into linus 2020-10-03 19:35:36 +02:00
linhara
2ef69e9c8d la till timeUntilTimeEnds 2020-10-03 19:34:41 +02:00
linhara
ab936cdcf3 fortsatt prova skit 2020-10-03 19:34:20 +02:00
Thefeli73
416a2d3aed take turn och global chartMap def 2020-10-03 19:31:09 +02:00
Thefeli73
16988ababb flutta game state var 2020-10-03 19:30:14 +02:00
Thefeli73
59bcb0ccc5 fix except traceback, var name, 2020-10-03 18:49:33 +02:00
linhara
c9c3cff598 Auto stash before merge of "linus" and "origin/felix-lek" 2020-10-03 17:54:32 +02:00
Thefeli73
b473ec9172 end game and exit on exception with print 2020-10-03 17:50:00 +02:00
Thefeli73
c89e1df0fc api print, force endgame function, exit timer, 2020-10-03 16:08:12 +02:00
Thefeli73
661d542e79 seperate teststrat from main code 2020-09-27 16:54:14 +02:00
Thefeli73
71bf5567aa small fix, teststrat var 2020-09-27 16:53:45 +02:00
Thefeli73
9c8b418e64 change to map 2 2020-09-27 15:08:08 +02:00