# Create logic puzzle Makaro in Prolog

**URL:** <https://swi-prolog.discourse.group/t/create-logic-puzzle-makaro-in-prolog/627>\
**Category:** Help!\
**Created:** [May 9, 2019, 7:29am UTC](https://swi-prolog.discourse.group/t/create-logic-puzzle-makaro-in-prolog/627 "2019-05-09T07:29:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Makaro](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Makaro](https://swi-prolog.discourse.group/u/Makaro)\
**Post date:** [May 9, 2019, 7:29am UTC](https://swi-prolog.discourse.group/t/create-logic-puzzle-makaro-in-prolog/627/1 "2019-05-09T07:29:49Z")

</div>

Hey Community, nice to meet you!

Sorry for bothering you, but I need your help. I have to program the solution of a Makaro logic puzzle in Prolog and since I have not used Prolog yet I do not really know how to start. Does anyone of you have a solution for this logic puzzle or an idea how to get started? Maybe even with some code lines?

Thank you for your time and help!

Greets, Michael

---

<div class="post-metadata">

**Author:** ![pmoura](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/pmoura/32/11_2.png) [@pmoura](https://swi-prolog.discourse.group/u/pmoura)\
**Post date:** [May 9, 2019, 8:28am UTC](https://swi-prolog.discourse.group/t/create-logic-puzzle-makaro-in-prolog/627/2 "2019-05-09T08:28:42Z")

</div>

Logtalk includes a `puzzles` example with solutions for some popular logical puzzles:

[https://github.com/LogtalkDotOrg/logtalk3/tree/master/examples/puzzles](https://github.com/LogtalkDotOrg/logtalk3/tree/master/examples/puzzles)

I’m not familiar with the Makaro puzzle but chances are that it can be solved in a similar way to the puzzles in that example.
