Explanation here
MEXICA is the implementation of a model of the cognitive process that has been used originally to create histories as a writer would do alternating between two theoretical estates: engagement and reflection, this is a first state of generation of ideas and a second process logical construction of such ideas, this is, based on the Piaget's theory if cognitive development
Guns it’s a video game which, using this model of the creativity process as artificial intelligence implementation, tries to win a match against a human player in a strategy video game style (RTS or Real Time Strategy). At running time, the A.I. build a game strategy using previous experience collected of a experimentation phase with human players, whose information was processed and saved in text files. Guns then is a dynamic environment whose updates adapts and control a team composed by 3 different agents with different and specific features in order to win the match.