A state channel, like a payment channel, allows two users to open a channel and perform transactions off-chain. The difference is that precise rules, in a game run off-chain via a state channel for example, can be defined on-chain to execute a result depending on the actions of the state channel stakeholders.