Re: Core.logic for boardgames

2014-08-11 Thread Robin Heggelund Hansen
Ok, thanks for all the answers :) kl. 15:11:39 UTC+2 mandag 11. august 2014 skrev Moritz Ulrich følgende: > > Robin Heggelund Hansen > writes: > > Implementing non-trivial game-logic in core.logic or any other > logic-programming system is likely harder than implementing the > validation in Clo

Re: Core.logic for boardgames

2014-08-11 Thread Moritz Ulrich
Robin Heggelund Hansen 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.

Re: Core.logic for boardgames

2014-08-11 Thread Kalina Todorova
Core.logic is just Clojure implementation of logic like programming and actually you can use logic programming for chess games (the example is in Prolog) http://stackoverflow.com/questions/9337074/what-is-the-neatest-prolog-implementation-for-conways-game-of-life On Mon, Aug 11, 2014 at 11:41 A

Re: Core.logic for boardgames

2014-08-11 Thread Robin Heggelund Hansen
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 Ja

Re: Core.logic for boardgames

2014-08-11 Thread Mark Engelberg
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 wrot

Re: Core.logic for boardgames

2014-08-11 Thread Henrik Eneroth
I have no idea, but I'm also interested in the answer. ^_^ On Saturday, August 9, 2014 12:51:20 PM UTC+2, Robin Heggelund Hansen 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

Core.logic for boardgames

2014-08-09 Thread Robin Heggelund Hansen
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 back