Skip to main content

Design and Software Implementation of Heuristic and Suboptimal Strategies for the Mancala/Kalah Game

  • Conference paper
  • First Online:
Intelligent Algorithms in Software Engineering (CSOC 2020)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1224))

Included in the following conference series:

  • 1299 Accesses

Abstract

One of the oldest games worldwide – the Mancala game – is focused on in this preliminary study. Namely, its the most popular version – the Kalah game – is considered. This contribution is aimed at the analysis of Kalah rules first. Further, based on these rules, some novel deterministic and suboptimal strategies are proposed. It is proved that the order of playing has a decisive impact on winning. The proposed strategies have been implemented via a simple C++/Qt application. By experiments, a human player, when playing as the second one, cannot defend the designed strategies in general. However, the same applies in reverse – when a human player begins, he/she can nearly always win. To sum up, the proposed software-based strategies are comparable to human opponents.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Murray, H.J.R.: A History of Board Games other than Chess. Oxford at the Clarendon Press, London (1952)

    Google Scholar 

  2. Russ, L.: The Complete Mancala Games Book. Marlow & Company, New York (2000)

    Google Scholar 

  3. Pankhurst, R.: Gäbäṭa. In: Uhlig, S. (ed.) Encyclopaedia Aethiopica: D-Ha. Harrassowitz Verlag, Wiesbaden (2005)

    Google Scholar 

  4. Irving, G., Donkers, J., Uiterwijk, J.W.H.M.: Solving Kalah. ICGA J. 23(3), 139–147 (2003)

    Article  Google Scholar 

  5. Kalah. Wikipedia: A Free Encyclopedia. https://en.wikipedia.org/wiki/Kalah/. Accessed 24 Oct 2019

  6. Allis, L.V.: Searching for Solutions in Games and Artificial Intelligence. Ph.D. thesis, Department of Computer Science, Rijksuniversiteit Limburg, Maastricht, The Netherlands (1994)

    Google Scholar 

  7. van den Herik, H.J., Uiterwijk, J.W.H.M., van Rijswijck, J.: Games solved: now and in the future. Artif. Intel. 134, 277–311 (2002)

    Article  Google Scholar 

  8. Solved Game. Wikipedia: A Free Encyclopedia. https://en.m.wikipedi0.org/wiki/Solved_game/. Accessed 24 Oct 2019

  9. Carstensen, A.K.: Solving (6,6)-Kalaha (2011). http://kalaha.krus.dk/

  10. Brown, S.: Basic Strategy for Mancala. https://www.thesprucecrafts.com/. Accessed 29 Oct 2019

  11. AppOn Innovate: Mancala [Mobile application software]. https://play.google.com/store/apps/details. Accessed 1 Nov 2019

  12. MobileFusion Apps Ltd.: Mancala Ultimate [Mobile application software]. http://mobilefusionapps.com/. Accessed 1 Nov 2019

  13. Priebe, L.: Mancala [Computer software]. https://www.superhry.cz/games/240/. Accessed 1 Nov 2019

  14. Math Playground LLC: Mancala [Java-based game]. https://www.mathplayground.com/mancala.html. Accessed 1 Nov 2019

  15. Stroustroup, B.: Programming: Principles and Practice Using C++, 2nd edn. Addison-Wesley Professional, Boston (2014)

    Google Scholar 

  16. Eng, L.Z.: Qt5 C++ GUI Programming Cookbook: Design and Build a Functional, Appealing, and User-Friendly Graphical User Interface. Packt, Birmingham (2016)

    Google Scholar 

  17. Zuckerman, I., Wilson, B., Nau, D.S.: Avoiding game-tree pathology in 2-player adversarial search. Comput. Intell. 34(2), 542–561 (2018)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgments

We do have to express our gratitude to Dr. Petr Dostálek for his patience during preparing this contribution.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Libor Pekař .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Pekař, L., Andrla, J., Dolinay, J. (2020). Design and Software Implementation of Heuristic and Suboptimal Strategies for the Mancala/Kalah Game. In: Silhavy, R. (eds) Intelligent Algorithms in Software Engineering. CSOC 2020. Advances in Intelligent Systems and Computing, vol 1224. Springer, Cham. https://doi.org/10.1007/978-3-030-51965-0_4

Download citation

Publish with us

Policies and ethics