<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.VIBRATE" />

    <application
        android:allowBackup="true"
        android:dataExtractionRules="@xml/data_extraction_rules"
        android:fullBackupContent="@xml/backup_rules"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/Theme.BoideloV3"
        tools:targetApi="31">

                <activity
            android:name=".hub.GameSelectionActivity"
            android:exported="true"
            android:theme="@style/Theme.BoideloV3">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <!-- Boidelo Classic Activities -->
        <activity
            android:name=".games.boideloclassic.BoideloClassicSetupActivity"
            android:exported="false"
            android:screenOrientation="portrait" />

        <activity
            android:name=".games.boideloclassic.BoideloClassicGameActivity"
            android:configChanges="orientation|screenSize"
            android:exported="false"
            android:screenOrientation="portrait" />

        <activity
            android:name=".games.boideloclassic.BoideloClassicParamsActivity"
            android:exported="false"
            android:screenOrientation="portrait" />

        <!-- Game 89++ Activities -->
        <activity
            android:name=".games.game89.Game89SetupActivity"
            android:exported="false"
            android:screenOrientation="portrait" />

        <activity
            android:name=".games.game89.Game89GameActivity"
            android:configChanges="orientation|screenSize"
            android:exported="false"
            android:screenOrientation="portrait" />

        <!-- Legacy Activities (to be removed) -->
        $1

        <activity
            android:name="com.example.boidelov3.Jeux"
            android:configChanges="orientation|screenSize"
            android:exported="false"
            android:screenOrientation="portrait" />

        <activity
            android:name="com.example.boidelov3.JeuxParametres"
            android:exported="false"
            android:screenOrientation="portrait" />

        <activity
            android:name="com.example.boidelov3.EndGameActivity"
            android:exported="false"
            android:screenOrientation="portrait" />

    </application>

</manifest>