a sample game model using Crafty engine