# Write games

> How a Minekube game is written - rules as an Effect UI component, a server half that calls Paper's real API, and network bundles for the Velocity proxy.

A Minekube game has two halves. The rules decide what happens and import no Java, so they run anywhere. The server half turns Paper events into messages and carries out the rules' Commands with Paper calls. A network bundle has the same shape and runs in the Velocity proxy instead.

These pages explain each half, the Effect programming model behind both, and the rules at the boundary to Java.

- [Game structure](https://minekube.com/games/write/game-structure)
- [Games as Effect components](https://minekube.com/games/write/effect-model)
- [Paper from TypeScript](https://minekube.com/games/write/paper-api)
- [Network bundles](https://minekube.com/games/write/network-bundles)
