Not logged in. · Lost password · Register

Member for 2 months
54 posts
Subject: Kalah thread
There was a question about Kalah rules. You should use the rules described in the introduction section on the Wikipedia page, before the contents. I'm copying them here.

The game provides a Kalah board and a number of seeds or counters. The board has 6 small pits, called houses, on each side; and a big pit, called an end zone, at each end. The object of the game is to capture more seeds than one's opponent.

1. At the beginning of the game, four seeds are placed in each house. This is the traditional method.
2. Each player controls the six houses and their seeds on the player's side of the board. The player's score is the number of seeds in the store to their right.
3. Players take turns sowing their seeds. On a turn, the player removes all seeds from one of the houses under their control. Moving counter-clockwise, the player drops one seed in each house in turn, including the player's own store but not their opponent's.
4. If the last sown seed lands in an empty house owned by the player, and the opposite house contains seeds, both the last seed and the opposite seeds are captured and placed into the player's store.
5. If the last sown seed lands in the player's store, the player gets an additional move. There is no limit on the number of moves a player can make in their turn.
6. When one player no longer has any seeds in any of their houses, the game ends. The other player moves all remaining seeds to their store, and the player with the most seeds in their store wins.
It is possible for the game to end in a draw.

You can use a database, but your submission still needs to be submitted as .class, .java, .scala or .jar (meaning you need to bundle the database). We are figuring out what a sensible limit on this would be. It will, of course, be less than any limit imposed by StudOn.
Member since Oct 2017
13 posts
Subject: What's the limit for databases?
Hello Katja,

the Kalah homework is due tomorrow, right?
Is the limit still the same as the limit of StudOn (200 MB as far as I remember?).

Best regards, Marco and Tobias
Member for 2 months
54 posts
Yes, 200MB is ok.
Member since Oct 2016
6 posts
When and where will the tournament occur?
Member for 2 months
54 posts
I'm currently running the tournament on a laptop. It's just past round 1 (3 houses) and halfway into round 2 (4 houses).  A few agents that either produced exceptions or made an excessive amount of illegal moves got disqualified.  I expect to get through all the rounds by Monday or so.  On Tuesday, during lecture, we'll run a mini tournament between the winners from this year and past years. I'll also ask the teams with agents that did best or something interesting to talk about it briefly.

Should I post the intermediate scores?
Member since Jul 2019
2 posts
Yes please, we'd be interested in the scores.

Best regards :)
Member for 2 months
54 posts
Subject: Scores after round 1, 3 houses and 3 seeds
Most agents entered the first round. Possible reasons for not getting into the first round were not working with the framework (possibly with some minor fixes), me noticing that they simply duplicated the Random Player, or similar. In addition to the submitted agents, there were three random players (named somewhat predictably) and Dennis' agent Jazzpirate.

300    Prometheus
297    Kalahmari
282    DerGeisterPanzer
279    MohamedKalah
276    SchwanksAgent
264    Jazzpirate
252    awenga gscheida agent
246    Backblech
228    UberAgent
204    Jeshannes
165    GreedyAgent
165    KilalAgent
156    MiniMuskAgent
144    MyKalahRandomSolver
135    Oli
129    XXXKalaaaaahHuakbarXXX
129    JovialAgent
126    BeulahBot3
123    Fladni
120    Random2
102    Random1
99    Random3
99    Agent_of_ChJo
99    Jmi928A
99    Freedom4HK
99    CoHe
99    Tars
90    IsekaiTrash
66    SomeMinMaxAgent

The first round saw some exceptions (NullPointer by CoHeAgent, IllegalArgumentException by FladniAgent and a thread exception by LitzuckAgent) and illegal moves:

 329    CoHe
 320    Fladni
 134    Oli
 107    BeulahBot3
  80    IsekaiTrash
  29    XXXKalaaaaahHuakbarXXX
  18    MiniMuskAgent
  12    KilalAgent
   9    Prometheus
   2    SchwanksAgent

Agents that did not throw exceptions and had at most 100 illegal moves in total got into round 2.
This post was edited 2 times, last on 2019-12-14, 12:06 by katjab.
Member for 2 months
54 posts
Subject: Scores after round 2, 4 houses and 4 seeds
Here are the results after round 2 (corrected after a naming error)

632    Prometheus
621    Kalahmari
572    UberAgent
572    SchwanksAgent
570    DerGeisterPanzer
532    Jazzpirate
523    MohamedKalah
500    Backblech
492    awenga gscheida agent
384    Jeshannes
320    MyKalahRandomSolver
307    Tars
296    MiniMuskAgent
277    KilalAgent
275    Agent_of_ChJo
261    GreedyAgent
253    XXXKalaaaaahHuakbarXXX
237    JovialAgent
199    Jmi928A
195    Freedom4HK
190    Random1
179    Random3
164    Random2
158    SomeMinMaxAgent
90    IsekaiTrash
This post was edited on 2019-12-14, 12:10 by katjab.
Member for 2 months
54 posts
Results after round 3, 6 houses and 6 seeds:

1173    Kalahmari
1118    Prometheus
1094    SchwanksAgent
1052    UberAgent
961    MohamedKalah
934    Jazzpirate
900    awenga gscheida agent
896    Backblech
786    DerGeisterPanzer
637    Tars
629    Agent_of_ChJo
602    MiniMuskAgent
588    Jeshannes
536    MyKalahRandomSolver
499    KilalAgent
495    JovialAgent
381    Freedom4HK
367    Jmi928A
349    XXXKalaaaaahHuakbarXXX
333    GreedyAgent
290    SomeMinMaxAgent
280    Random1
263    Random3
176    Random2
90    IsekaiTrash
This post was edited on 2019-12-14, 12:18 by katjab.
Member for 2 months
54 posts
Scores after round 4, 8 houses and 8 seeds:

In round 4, another agent was added (due to some earlier issues) - Stein3000.

1925    Kalahmari
1814    SchwanksAgent
1758    Prometheus
1732    UberAgent
1561    MohamedKalah
1524    awenga gscheida agent
1494    Jazzpirate
1424    Backblech
1250    DerGeisterPanzer
1085    Tars
1058    MiniMuskAgent
1037    Agent_of_ChJo
924    Jeshannes
871    JovialAgent
856    MyKalahRandomSolver
723    KilalAgent
685    Freedom4HK
639    Jmi928A
546    SomeMinMaxAgent
533    XXXKalaaaaahHuakbarXXX
445    GreedyAgent
384    Random1
304    Random2
303    Random3
90    IsekaiTrash
64    Stein3000

I also checked for illegal moves:

 479    Stein3000
 164    XXXKalaaaaahHuakbarXXX
 101    KilalAgent
  98    DerGeisterPanzer
   8    SomeMinMaxAgent
   5    awenga gscheida agent
   3    MiniMuskAgent
   2    Prometheus
   2    SchwanksAgent
   1    MohamedKalah

Agents not continuing to the next round are those that did not get a score over 800 or made over 90 illegal moves.

Random (1-3)
This post was edited 2 times, last on 2019-12-14, 13:33 by katjab.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Datenschutz | Kontakt
Powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2011 by Yves Goergen