Simple AI logic with (J)CSP?

Does anybody know if it is usual to use JCSP API for AI logics and/or graphics rendering?

:smiley: I found out that JCSP has got good processed Classes and I wondered if it could fit to my game project.

??? ??? ??? ??? http://www.cs.kent.ac.uk/projects/ofa/jcsp/jcsp1-0-rc7/jcsp-docs/

I don’t think so. Concurrency in games is not usually too hard to just do. What kind of game are you doing?

A kind of battle game Street Fighter-like.
That is my point, it ain’t the easiest way to implements such a Communicating Sequence of Processes in a small game like this.

I wonder about the ActiveComponents that are built in this library of JCSP. They seem to allow more reactivity with safer stability in multi-thread environments.

Sorry, clarify your point. You want to over engineer becuase you want to play with JCSP? Thats a good enough reason to use it. Otherwise, the AI for such a game is too easy to do: just intergrate it as part of the game loop without concurrancy.
I would say a concurrent approach would actually make an AI worse than just doing some kind of probabalistic min-max.

thank you for this observation… actually I’m still waiting for my Sprites to load properly, but I overrided the render component from ActiveComponent to get it smoother. For the moment I’m unable to give any results… ::slight_smile: