A Game-Based Architecture for Developing Interactive Components in Computational Logic