Cursor behaviour depending on game state. Link to github.