
<turbo-stream action="update" targets="#projects">
    <template>
        <div class="projects-nav flex w-100 justify-between align-center">
    <a class="btn btn-primary rounded" href="/projects/skilltree" aria-label="previous" data-turbo-stream="true"><<</a>
    <span class="flex flex-grow-1 mx-1"></span>
    <a class="btn btn-primary" href="/projects" aria-label="back" data-turbo-stream="true">Retour</a>
    <span class="flex flex-grow-1 mx-1"></span>
    <a class="btn btn-primary rounded" href="/projects/system-d" aria-label="next" data-turbo-stream="true">>></a>
</div>            <div class="project-details flex flex-grow-1">
        <div class="flex flex-col flex-grow-1 py-1">
            <h2 class="mb-0-5">Battle of Elements</h2>
            <h3 class="mb-1">Jeu de Tower Defense en Javascript</h3>
            <p class="mb-1">Ce projet est un jeu de Tower Defense 2D codé en JavaScript, conçu comme un terrain d'expérimentation pour apprendre et pratiquer la programmation orientée objet.
                Le joueur y place et améliore des tours de défense afin d'empêcher des vagues d'ennemis d'atteindre la fin du parcours.
                Ce projet m'a permis d'explorer les concepts de classes, d'héritage et de gestion des objets dans un environnement interactif.</br><span class="text-warning"><i class="fa-solid fa-warning fs-1 mt-1 me-0-5"></i>Non compatible mobile</span></p>
            <div class="stack-list flex flex-wrap mb-1 gap-1">
                                    <p>HTML</p>
                                    <p>CSS</p>
                                    <p>Javascript</p>
                            </div>
            <div class="flex center mb-1">
                <div class="project-demo flex flex-grow-1 center">
                                            <a class="btn btn-primary" href="/boe" target="_blank">Démo</a>
                                    </div>
            </div>
            <div class="carousel mx-auto">
                <div class="position-relative flex align-center justify-around mb-0-5">
                    <button class="carousel-btn carousel-btn-swipe btn btn-primary rounded" id="previous">«</button>
                    <div class="carousel-content flex center">
                        <img class="project-preview-image visible" id="img1" src="/build/images/thumbnails/thumbnail-boe-1.png" alt="Battle of Elements preview">
                        <img class="project-preview-image" id="img2" src="/build/images/thumbnails/thumbnail-boe-2.png" alt="Battle of Elements preview">
                        <img class="project-preview-image" id="img3" src="/build/images/thumbnails/thumbnail-boe-3.png" alt="Battle of Elements preview">
                    </div>
                    <button class="carousel-btn carousel-btn-swipe btn btn-primary rounded" id="next">»</button>
                </div>
                <div class="carousel-thumbnails flex justify-between mx-auto">
                    <img class="project-thumbnail-image visible" id="prv1" src="/build/images/thumbnails/thumbnail-boe-1.png" alt="Battle of Elements thumbnail">
                    <img class="project-thumbnail-image" id="prv2" src="/build/images/thumbnails/thumbnail-boe-2.png" alt="Battle of Elements thumbnail">
                    <img class="project-thumbnail-image" id="prv3" src="/build/images/thumbnails/thumbnail-boe-3.png" alt="Battle of Elements thumbnail">
                </div>
            </div>
                                                                                                                                                </div>
    </div>
    
    <div class="mobile-project-nav w-100 mb-2"><div class="projects-nav flex w-100 justify-between align-center">
    <a class="btn btn-primary rounded" href="/projects/skilltree" aria-label="previous" data-turbo-stream="true"><<</a>
    <span class="flex flex-grow-1 mx-1"></span>
    <a class="btn btn-primary" href="/projects" aria-label="back" data-turbo-stream="true">Retour</a>
    <span class="flex flex-grow-1 mx-1"></span>
    <a class="btn btn-primary rounded" href="/projects/system-d" aria-label="next" data-turbo-stream="true">>></a>
</div></div>
    </template>
</turbo-stream>