Implemented action handler in game library