Did you mean artifice?
artifice
noun
°a trick played out as an ingenious, but artful, ruse.