Robin Heggelund Hansen <skinney...@gmail.com> writes: Implementing non-trivial game-logic in core.logic or any other logic-programming system is likely harder than implementing the validation in Clojure, as you'd have to learn many new idioms and a totally different programming style - but it's really mind-opening too.
You might just want to give it a try by learning some logic programming. core.logic isn't well-suited nor ill-suited for such a task. > The idea was to implement the game rules (validating a move) using > core.logic, but I take it that isn't something core.logic would be suited > for? > > kl. 11:42:18 UTC+2 mandag 11. august 2014 skrev puzzler følgende: >> >> I don't see how core.logic would apply here. >> >> You might be interested in a Java-based general game playing engine which >> you can leverage from Clojure. Many take logical descriptions of the game >> rules in LISP form. >> >> http://www.ggp.org/ >> >> >> >> On Sat, Aug 9, 2014 at 3:51 AM, Robin Heggelund Hansen <skinn...@gmail.com >> <javascript:>> wrote: >> >>> Hi. >>> >>> I'm starting a new project now, where users are presented with a set of >>> boardgames (chess, checkers, othello...) which they then can play together >>> online. >>> Does it make sense to implement the game logic using core.logic, and does >>> it transfer well to cljs (i'd like to share logic between backend and >>> frontend if i can)? >>> >>> I don't know core.logic, but would like to learn if it is a good fit for >>> the problem I'm solving. >>> >>> Thanks! >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To post to this group, send email to clo...@googlegroups.com >>> <javascript:> >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> clojure+u...@googlegroups.com <javascript:> >>> For more options, visit this group at >>> http://groups.google.com/group/clojure?hl=en >>> --- >>> You received this message because you are subscribed to the Google Groups >>> "Clojure" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to clojure+u...@googlegroups.com <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Moritz Ulrich
pgpbS5dpyp8yP.pgp
Description: PGP signature