image bg Troll Thief - Stickman Puzzle
image Troll Thief - Stickman Puzzle
Troll Thief - Stickman Puzzle
Play Now
Game loading..
25

Troll Thief - Stickman Puzzle

0 plays

Troll Thief - Stickman Puzzle

Rating:
No ratings yet
Released:
18 March 2024
Last Updated:
18 March 2024
Troll Thief - Stickman Puzzle is a timing-based browser game where you control a sneaky stickman. This puzzle game is perfect for kids and adults looking for a fun challenge. You'll need to use your quick reflexes to move the troll, grab treasures, and avoid obstacles. With its simple controls and addictive gameplay, it's a great game to play when you have a few minutes to spare.</p> <h2>How To Play Troll Thief - Stickman Puzzle</h2> <p>Grabbing treasures and dodging obstacles is all about timing. Tap or click to move the troll and avoid getting in the way of oncoming obstacles. Clean grabbing is key to getting the most treasure in the least amount of time.</h2> <h3>Controls and Features</h3> <p>Use the arrow keys or click and tap on the screen to move the troll. The game is free and has escape barriers that can be frustrating, but it's also what makes the game so challenging and fun.</p> <h3>Tips</h3> <p>Observe obstacles and plan your moves before acting. Slow down to practice your timing and improve your quick decision-making to avoid rage quitting.</p> <h3>FAQ</h3> <h3>What are the controls for Troll Thief - Stickman Puzzle?</h3> <p>Use the arrow keys or click and tap on the screen to move the troll.</p> <h3>What is the main mechanic of the game?</h3> <p>The main mechanic of the game is timing and quick decision-making.</p> <h3>What is the objective of the game?</h3> <p>Grab treasures while avoiding obstacles.</p> <h3>Is there a timer in the game?</h3> <p>No timer is stated in the game summary.</p> </div> </div> <div class="bg-[#1a1b28] p-6 rounded-lg text-white space-y-4 walkthrough-wrapper" style="min-height: 200px;"> <div class="text-xl font-extrabold">Play Troll Thief - Stickman Puzzle Walkthrough</div> <div class="description" id="walkthrough-video-container" style="width: 100%; height: 480px;"></div> <script type="text/javascript"> document.addEventListener('DOMContentLoaded', function () { var gameUniqueId = "gj8t7sa2xmr15vi7ln5hbpmg2hkf4rgs"; var dbVideoUrl = "https://gamemonetize.video/video/gj8t7sa2xmr15vi7ln5hbpmg2hkf4rgs-1699487244.mp4"; var walkthroughWrapper = document.querySelector('.walkthrough-wrapper'); var walkthroughContainer = document.getElementById('walkthrough-video-container'); function hideWalkthrough() { if (walkthroughWrapper) { walkthroughWrapper.remove(); } } if ( !dbVideoUrl || dbVideoUrl.indexOf('gamemonetize.video/video/') === -1 || dbVideoUrl.indexOf('4kci7og3klgj0ivy2wz3gdvd9dth5e7n') !== -1 || !gameUniqueId || gameUniqueId.indexOf('{{') !== -1 ) { hideWalkthrough(); } else { walkthroughContainer.id = 'gamemonetize-video'; window.VIDEO_OPTIONS = { gameid: gameUniqueId, width: "100%", height: "480px", color: "#3f007e" }; (function (a, b, c) { var d = a.getElementsByTagName(b)[0]; if (!a.getElementById(c)) { var s = a.createElement(b); s.id = c; s.src = "https://api.gamemonetize.com/video.js"; d.parentNode.insertBefore(s, d); } })(document, "script", "gamemonetize-video-api"); } }); </script> </div> </div> <div class="space-y-4 shrink-0 bg-[#1a1b28] p-2 rounded-lg hidden"> </div> </div> </div> <div class="w-full lg:w-[340px]"> <div class="grid grid-cols-5 gap-2 lg:grid-cols-2"> <div class="relative col-span-2 row-span-2 ads300-container border border-[#28293D] h-[282px] bg-[#181925] "><div style="text-align:center;margin:0 auto;width:300px; height:250px;"> <a href="https://www.crazygamesx.com" target="_blank" rel="noopener noreferrer" aria-label="Visit CrazyGamesX"> <img src="https://www.poki.com.es/templates/poki-like/image/banner-300.webp" alt="CrazyGamesX - Unblocked Browser Games" width="300" height="250" fetchpriority="high" decoding="async" style="max-width: 100%; height: auto; border-radius: 12px; display: block; border: none;"> </a> </div></div> <a href="https://www.games.org.es/game/155-riot-control-riot-police" aria-label="155 Riot Control-(Riot Police)" data-wt-video="https://gamemonetize.video/video/ad5trvjdq9t3uen55vd4qowlul4l6lvy-1699312735.mp4" class="relative" > <img src="https://img.gamemonetize.com/ad5trvjdq9t3uen55vd4qowlul4l6lvy/512x384.jpg" width="166" height="166" alt="155 Riot Control-(Riot Police) image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">155 Riot Control-(Riot Police)</p> </a><a href="https://www.games.org.es/game/2troll-cat" aria-label="2Troll Cat" data-wt-video="https://gamemonetize.video/video/9ha93gbunbu9lttjool1laieo2euyfac-1706267120.mp4" class="relative" > <img src="https://img.gamemonetize.com/9ha93gbunbu9lttjool1laieo2euyfac/512x384.jpg" width="166" height="166" alt="2Troll Cat image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">2Troll Cat</p> </a><a href="https://www.games.org.es/game/3d-maze-control" aria-label="3D Maze Control" data-wt-video="https://gamemonetize.video/video/2dt5i17at52tsqt6jec4urf41ct7q4rm.mp4" class="relative" > <img src="https://img.gamemonetize.com/2dt5i17at52tsqt6jec4urf41ct7q4rm/512x384.jpg" width="166" height="166" alt="3D Maze Control image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">3D Maze Control</p> </a><a href="https://www.games.org.es/game/air-traffic-controller" aria-label="Air traffic controller" data-wt-video="https://gamemonetize.video/video/cs4j9ddjwkv1j427ov1qudli5b6v2ig9-1675218784.mp4" class="relative" > <img src="https://img.gamemonetize.com/cs4j9ddjwkv1j427ov1qudli5b6v2ig9/512x384.jpg" width="166" height="166" alt="Air traffic controller image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Air traffic controller</p> </a><a href="https://www.games.org.es/game/arcade-thief-runner" aria-label="Arcade Thief Runner" data-wt-video="https://gamemonetize.video/video/b629r9v8v23onnfc13ts7bgj0taiihmw-1735558247.mp4" class="relative" > <img src="https://img.gamemonetize.com/b629r9v8v23onnfc13ts7bgj0taiihmw/512x384.jpg" width="166" height="166" alt="Arcade Thief Runner image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="https://www.youtube.com/watch?v=NjOHugkM32w" data-scale="1.2" data-translate="-23px,-25px">Arcade Thief Runner</p> </a><a href="https://www.games.org.es/game/arrow-patrol" aria-label="Arrow Patrol" data-wt-video="" class="relative" > <img src="https://img.gamemonetize.com/y2qp0wr3xe2uw321nrlsikpmwkgl4ij5/512x384.jpg" width="166" height="166" alt="Arrow Patrol image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Arrow Patrol</p> </a> <a href="https://www.games.org.es/game/ball-thief-vs-police" aria-label="Ball Thief vs Police" data-wt-video="https://gamemonetize.video/video/e9jn9sxwpopru97ooegv49zwijg1aip4-1672872399.mp4" class="relative" > <img src="https://img.gamemonetize.com/e9jn9sxwpopru97ooegv49zwijg1aip4/512x384.jpg" width="166" height="166" alt="Ball Thief vs Police image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Ball Thief vs Police</p> </a><a href="https://www.games.org.es/game/ball-thief-vs-police-2" aria-label="Ball Thief vs Police 2" data-wt-video="https://gamemonetize.video/video/m8ffnk2625qadiq02khvv52rkbhn6frn-1672799328.mp4" class="relative" > <img src="https://img.gamemonetize.com/m8ffnk2625qadiq02khvv52rkbhn6frn/512x384.jpg" width="166" height="166" alt="Ball Thief vs Police 2 image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Ball Thief vs Police 2</p> </a><a href="https://www.games.org.es/game/bird-patrol" aria-label="Bird Patrol" data-wt-video="https://gamemonetize.video/video/e75tmjmekf98uinfrrwnqgx1tov0fxi5.mp4" class="relative" > <img src="/games-image/e75tmjmekf98uinfrrwnqgx1tov0fxi5/200x150.webp?v=1778481124" width="166" height="166" alt="Bird Patrol image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Bird Patrol</p> </a><a href="https://www.games.org.es/game/catch-the-thief" aria-label="Catch The Thief" data-wt-video="https://gamemonetize.video/video/p5975lxccebw95jbl14e039151g98po0-1668997085.mp4" class="relative" > <img src="https://img.gamemonetize.com/p5975lxccebw95jbl14e039151g98po0/512x384.jpg" width="166" height="166" alt="Catch The Thief image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Catch The Thief</p> </a><a href="https://www.games.org.es/game/catch-the-thief-3d" aria-label="Catch the Thief 3D" data-wt-video="https://gamemonetize.video/video/9mb5zgx5gdzjymjwprl32ygoiirf2o6c-1691022020.mp4" class="relative" > <img src="https://img.gamemonetize.com/9mb5zgx5gdzjymjwprl32ygoiirf2o6c/512x384.jpg" width="166" height="166" alt="Catch the Thief 3D image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Catch the Thief 3D</p> </a><a href="https://www.games.org.es/game/catch-the-thief-3d-game" aria-label="Catch The Thief 3D Game" data-wt-video="https://gamemonetize.video/video/grp2pabi1dcjvv9y2jtzxjqpro6h1byk-1675725486.mp4" class="relative" > <img src="https://img.gamemonetize.com/grp2pabi1dcjvv9y2jtzxjqpro6h1byk/512x384.jpg" width="166" height="166" alt="Catch The Thief 3D Game image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Catch The Thief 3D Game</p> </a> <a href="https://www.games.org.es/game/ghostly-spikes" aria-label="Ghostly Spikes" class="relative hidden lg:block" data-wt-video="https://gamemonetize.video/video/zb5irqol5moia70jk4g3w4romdjwbrwl-1699956475.mp4" > <img src="https://img.gamemonetize.com/zb5irqol5moia70jk4g3w4romdjwbrwl/512x384.jpg" width="166" height="166" alt="Ghostly Spikes image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Ghostly Spikes</p> </a><a href="https://www.games.org.es/game/penguin-pals" aria-label="Penguin Pals" class="relative hidden lg:block" data-wt-video="https://gamemonetize.video/video/mixt5j56ijso727p38br7cmuu9xoesus-1679629542.mp4" > <img src="https://img.gamemonetize.com/mixt5j56ijso727p38br7cmuu9xoesus/512x384.jpg" width="166" height="166" alt="Penguin Pals image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Penguin Pals</p> </a><a href="https://www.games.org.es/game/mr-spy-soccer-killer" aria-label="Mr Spy: Soccer Killer" class="relative hidden lg:block" data-wt-video="https://gamemonetize.video/video/ns2po40obhyaeixsodsth0wib7pz9xxf-1673907562.mp4" > <img src="https://img.gamemonetize.com/ns2po40obhyaeixsodsth0wib7pz9xxf/512x384.jpg" width="166" height="166" alt="Mr Spy: Soccer Killer image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Mr Spy: Soccer Killer</p> </a><a href="https://www.games.org.es/game/xtreme-paintball-war-2022" aria-label="Xtreme Paintball War 2022" class="relative hidden lg:block" data-wt-video="https://gamemonetize.video/video/b3hg3t3eak2v0ejod2pt5mp3awnhpoj2-1669253752.mp4" > <img src="https://img.gamemonetize.com/b3hg3t3eak2v0ejod2pt5mp3awnhpoj2/512x384.jpg" width="166" height="166" alt="Xtreme Paintball War 2022 image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Xtreme Paintball War 2022</p> </a><a href="https://www.games.org.es/game/the-amazing-maurice-card-match" aria-label="The Amazing Maurice Card Match" class="relative hidden lg:block" data-wt-video="https://gamemonetize.video/video/y9w3fgfsw3clryrh9uod4v7rhp99xa3q-1670883624.mp4" > <img src="https://img.gamemonetize.com/y9w3fgfsw3clryrh9uod4v7rhp99xa3q/512x384.jpg" width="166" height="166" alt="The Amazing Maurice Card Match image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">The Amazing Maurice Card Match</p> </a><a href="https://www.games.org.es/game/princess-punk-fashion-tattoo-desgin" aria-label="Princess Punk Fashion - Tattoo Desgin" class="relative hidden lg:block" data-wt-video="https://gamemonetize.video/video/svvtup32pi8yn8ycwusat9md0ce6v5xr-1701701081.mp4" > <img src="https://img.gamemonetize.com/svvtup32pi8yn8ycwusat9md0ce6v5xr/512x384.jpg" width="166" height="166" alt="Princess Punk Fashion - Tattoo Desgin image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Princess Punk Fashion - Tattoo Desgin</p> </a><a href="https://www.games.org.es/game/rocket-soccer-derby" aria-label="Rocket Soccer Derby" class="relative hidden lg:block" data-wt-video="https://gamemonetize.video/video/iz49b5s6h2xl6jsxrjxra3kkhm09x972-1706999145.mp4" > <img src="https://img.gamemonetize.com/iz49b5s6h2xl6jsxrjxra3kkhm09x972/512x384.jpg" width="166" height="166" alt="Rocket Soccer Derby image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Rocket Soccer Derby</p> </a><a href="https://www.games.org.es/game/tappy-tower" aria-label="Tappy Tower" class="relative hidden lg:block" data-wt-video="https://gamemonetize.video/video/m7uk4jq7hgth8yc3yx0echwecbxyju3n-1744700803.mp4" > <img src="https://img.gamemonetize.com/m7uk4jq7hgth8yc3yx0echwecbxyju3n/512x384.jpg" width="166" height="166" alt="Tappy Tower image" loading="lazy" class="object-cover aspect-square rounded-2xl"> <p class="px-2 mt-2 text-xs font-bold text-center text-white truncate lg:hidden" data-url="" data-scale="1.2" data-translate="-23px,-25px">Tappy Tower</p> </a> </div> </div> </main> <script type="text/javascript"> (function() { if (window.__gmCleanLoadMoreInstalled) { return; } window.__gmCleanLoadMoreInstalled = true; function gmInitLoadMore() { if (typeof window.jQuery === 'undefined') { return; } var $ = window.jQuery; var loadedIdMap = {}; var initialIds = (typeof window.ids !== 'undefined') ? $.trim(String(window.ids || '')) : ''; if (initialIds === '') { return; } function addIdsFromString(idString) { idString = String(idString || '').replace(/[^0-9,]/g, ''); $.each(idString.split(','), function(_, id) { id = $.trim(id); if (id !== '') { loadedIdMap[id] = true; } }); } function getLoadedIdsString() { return Object.keys(loadedIdMap).join(','); } addIdsFromString(initialIds); var $container = $('#game-list-container'); if (!$container.length || !$container.is(':visible')) { $container = $('.home-games-list:visible, .game-list-grid-container:visible').first(); } if (!$container.length) { return; } var currentPageType = (typeof window.PageType !== 'undefined') ? $.trim(String(window.PageType || '')) : ''; var categoryId = (typeof window.cat !== 'undefined') ? $.trim(String(window.cat || '')) : ''; var categorySlug = ''; var pathNow = window.location.pathname.toLowerCase(); var categoryMatch = window.location.pathname.match(/^\/category\/([^\/]+)/i); if (categoryMatch && categoryMatch[1]) { categorySlug = decodeURIComponent(categoryMatch[1]) .toLowerCase() .replace(/[^a-z0-9\-_]+/g, '-') .replace(/^-+|-+$/g, ''); } var knownListPage = pathNow === '/new-games' || pathNow === '/best-games' || pathNow === '/rated' || pathNow === '/featured-games' || pathNow === '/updated' || pathNow === '/played-games' || pathNow === '/favorite-games'; var isCategoryPage = pathNow.indexOf('/category/') === 0; var hasCategory = isCategoryPage && (categoryId !== '' || categorySlug !== ''); var allowLoadMore = hasCategory || pathNow === '/new-games' || pathNow === '/best-games' || pathNow === '/rated' || pathNow === '/featured-games'; if (!allowLoadMore) { return; } var loading = false; var noMoreGames = false; var perLoad = 50; var checkTimer = null; function gmCheckLoadMore() { if (checkTimer) { clearTimeout(checkTimer); } checkTimer = setTimeout(function() { if (noMoreGames || loading || !$container.length) { return; } var scrollTop = $(window).scrollTop(); var windowHeight = $(window).height(); var gridBottom = $container.offset().top + $container.outerHeight(); var documentHeight = $(document).height(); if ( scrollTop + windowHeight > gridBottom - 900 || scrollTop + windowHeight > documentHeight - 1000 ) { loading = true; gmLoadMoreGames(perLoad); } }, 120); } function gmLoadMoreGames(num) { var url = "/ajax_loadmoregames.php?LoadedGamesNum=0" + "&num=" + encodeURIComponent(num) + "&ids=" + encodeURIComponent(getLoadedIdsString()); if (hasCategory) { if (categorySlug !== '') { url += "&category_slug=" + encodeURIComponent(categorySlug); } else if (categoryId !== '') { url += "&cat=" + encodeURIComponent(categoryId); } } else { url += "&pagetype=" + encodeURIComponent(currentPageType); } $.ajax({ url: url, type: "GET", cache: false, success: function(response) { response = $.trim(response || ''); if (response === '' || response === 'NoData') { noMoreGames = true; loading = false; return; } var $html = $(response); var $itemsWithIds = $html.filter('[data-game-id]').add($html.find('[data-game-id]')); var addedIds = 0; $itemsWithIds.each(function() { var gameId = $.trim(String($(this).attr('data-game-id') || '')); if (gameId !== '' && !loadedIdMap[gameId]) { loadedIdMap[gameId] = true; addedIds++; } }); if (addedIds < 1) { noMoreGames = true; loading = false; return; } $container.append($html); if (addedIds < num) { noMoreGames = true; } loading = false; }, error: function() { loading = false; } }); } $(window) .off('scroll.gmLoadMoreFinal wheel.gmLoadMoreFinal touchmove.gmLoadMoreFinal') .on('scroll.gmLoadMoreFinal wheel.gmLoadMoreFinal touchmove.gmLoadMoreFinal', gmCheckLoadMore); } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', gmInitLoadMore); } else { gmInitLoadMore(); } })(); </script> </div> <div id="BackTop"></div> <script type="text/javascript"> var PreGameAdURL = ""; function getcookie(name) { var cookie_start = document.cookie.indexOf(name); var cookie_end = document.cookie.indexOf(";", cookie_start); return cookie_start == -1 ? '' : unescape(document.cookie.substring(cookie_start + name.length + 1, (cookie_end > cookie_start ? cookie_end : document.cookie.length))); } function setcookie(cookieName, cookieValue, seconds, path, domain, secure) { var expires = new Date(); expires.setTime(expires.getTime() + seconds); document.cookie = escape(cookieName) + '=' + escape(cookieValue) + (expires ? '; expires=' + expires.toGMTString() : '') + (path ? '; path=' + path : '/') + (domain ? '; domain=' + domain : '') + (secure ? '; secure' : ''); } function ClearPlayedGames() { setcookie("lastplayedgames", "", -360000, "/"); return false; } function PlayedGames(game_id) { var playedgames = getcookie("playedgames"); if (playedgames.indexOf("," + game_id + ",") > -1) { playedgames = playedgames.replace("," + game_id + ",", ''); } else { if (playedgames == "" || playedgames == ",") { playedgames = "," + game_id + ","; } else { playedgames = "," + game_id + "," + playedgames; } } setcookie("playedgames", playedgames, 25920000000, "/"); } $(document).ready(function() { PlayedGames(Number("3938")); // Inisialisasi video background var youtubeId = ""; var wtVideoUrl = "https://gamemonetize.video/video/gj8t7sa2xmr15vi7ln5hbpmg2hkf4rgs-1699487244.mp4"; var videoContainer = document.getElementById('video-background-container'); // 0. Check Playhop MP4 video first if ((wtVideoUrl && wtVideoUrl.includes('/playhop-videos/')) || (youtubeId && youtubeId.includes('/playhop-videos/'))) { // Use Playhop MP4 video var video = document.createElement('video'); video.className = 'w-full h-full object-cover object-center'; video.loop = true; video.muted = true; video.playsInline = true; video.setAttribute('disableremoteplayback', ''); video.setAttribute('disablepictureinpicture', ''); video.preload = 'auto'; var playhopSrc = wtVideoUrl.includes('/playhop-videos/') ? wtVideoUrl : youtubeId; var source = document.createElement('source'); source.src = playhopSrc; source.type = 'video/mp4'; video.appendChild(source); videoContainer.appendChild(video); // Play with delay and set playback rate setTimeout(function() { video.playbackRate = 2.0; video.play().catch(function(err) { console.log('Video autoplay prevented:', err); }); }, 10); } else if ((wtVideoUrl && wtVideoUrl.includes('https://frontend.vh.yandex.ru/player')) || (youtubeId && youtubeId.includes('https://frontend.vh.yandex.ru/player'))) { // Use Yandex video iframe with autoplay for background var iframe = document.createElement('iframe'); iframe.className = 'absolute w-[600%] h-[100%] ml-[-250%] object-cover object-center'; iframe.title = 'Background game video'; var yandexSrc = wtVideoUrl.includes('https://frontend.vh.yandex.ru/player') ? wtVideoUrl : youtubeId; // Add autoplay=1 for background video iframe.src = yandexSrc + (yandexSrc.includes('?') ? '&' : '?') + 'autoplay=1&muted=1'; iframe.frameBorder = '0'; iframe.allow = 'autoplay; encrypted-media'; iframe.style.pointerEvents = 'none'; videoContainer.appendChild(iframe); } else if (youtubeId && youtubeId.trim() !== "") { // 2. Use YouTube embed var iframe = document.createElement('iframe'); iframe.className = 'absolute w-[600%] h-[100%] ml-[-250%] object-cover object-center'; iframe.title = 'Background game video'; iframe.src = 'https://www.youtube.com/embed/' + youtubeId + '?autoplay=1&mute=1&loop=1&playlist=' + youtubeId + '&controls=0&showinfo=0&rel=0&modestbranding=1&playsinline=1&enablejsapi=1'; iframe.frameBorder = '0'; iframe.allow = 'autoplay; encrypted-media'; iframe.style.pointerEvents = 'none'; videoContainer.appendChild(iframe); } else if (wtVideoUrl && wtVideoUrl.trim() !== "") { // 3. Use wt_video as fallback var video = document.createElement('video'); video.className = 'w-full h-full object-cover object-center'; video.loop = true; video.autoplay = true; video.muted = true; video.playsInline = true; video.setAttribute('disableremoteplayback', ''); video.setAttribute('disablepictureinpicture', ''); video.preload = 'metadata'; var source = document.createElement('source'); source.src = wtVideoUrl; source.type = 'video/mp4'; video.appendChild(source); videoContainer.appendChild(video); } }); window.setTimeout(function() { __upGame_rx8(Number("3938")); }, 2000); var descriptionURL = "https://www.games.org.es/game/troll-thief-stickman-puzzle"; var iframe = '<iframe src="https://html5.gamemonetize.co/gj8t7sa2xmr15vi7ln5hbpmg2hkf4rgs/" id="game-player" title="game-player" width="100%" height="100%" frameborder="0" scrolling="no" sandbox="allow-scripts allow-same-origin allow-popups allow-forms allow-pointer-lock" allow="fullscreen; gamepad; pointer-lock" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'; function ReqGameFullscreen() { let gameElement = document.getElementById('gameDiv'); $("#ava-game_container").removeClass("max-h-[calc(100svh-240px)]"); $("#ava-game_container").addClass("max-h-[calc(100svh-45px)]"); $('.game-zoom-btn').addClass("hidden"); $('#exitFullscreen-btn').removeClass("hidden"); if (gameElement.requestFullscreen) { gameElement.requestFullscreen(); } else if (gameElement.mozRequestFullScreen) { // Mozilla gameElement.mozRequestFullScreen(); } else if (gameElement.webkitRequestFullscreen) { // Webkit gameElement.webkitRequestFullscreen(); } else if (gameElement.msRequestFullscreen) { // IE/Edge gameElement.msRequestFullscreen(); } } document.getElementById('exitFullscreen-btn').addEventListener('click', function() { exitFullscreen(); }); function exitFullscreen() { let gameElement = document.getElementById('gameDiv'); $("#ava-game_container").removeClass("max-h-[calc(100svh-45px)]"); $("#ava-game_container").addClass("max-h-[calc(100svh-240px)]"); $('.game-zoom-btn').removeClass("hidden"); $('#exitFullscreen-btn').addClass("hidden"); if (document.exitFullscreen) { document.exitFullscreen(); } else if (document.mozCancelFullScreen) { // Mozilla document.mozCancelFullScreen(); } else if (document.webkitExitFullscreen) { // Webkit document.webkitExitFullscreen(); } else if (document.msExitFullscreen) { // IE/Edge document.msExitFullscreen(); } } $(document).ready(function() { $('.play-now-button').on('click', function(e) { e.preventDefault(); SkipAdAndShowGame(); $("#gamePlay-content").hide(); if ($(document).width() < 1024) { $("#header").hide(); $("#topad").hide(); $("#game-bottom").hide(); $(".play-game-bottom").hide(); $(".tags-walkthrough-container").hide(); $(".h-head").hide(); $(".game-zoom").hide(); // $("#adsContainer").hide(); $("#game-col").css("margin", "0px"); $("#game-col").css("height", "100svh"); $("#gameDiv").css("height", "100svh"); $("#gameDiv").css("width", "100vw"); $("#gameDiv").css("position", "fixed"); $("#gameDiv").css("top", "0"); $("#gameDiv").css("left", "0"); $("#gameDiv").css("z-index", "9999"); $("#ava-game_container").css("height", "100svh"); $('body').css('overflow', 'hidden'); $('.close-fullscreen').css('display', 'flex'); // GameFullscreen() // $("#game-preloading").show(); // setTimeout( // function() // { // $("#game-preloading").hide(); // PreRollAd.start(); // }, 550); // Tambahkan fungsi fullscreen // Call the fullscreen function ReqGameFullscreen(); } }); $('.show-more-games-button').click(function() { $(".gameplay-container").show(); $('a.hidden').removeClass('hidden'); $(this).hide(); }); }); function SkipAdAndShowGame() { $("#adsContainer").hide(); $("#game-box").html(iframe); } $(function() { $('.ad300').eq(0).show(); if ($('.ad300').size() > 1) { setInterval(function() { var first = $('.ad300').eq(0); first.hide(); $('.ad300').last().after(first); $('.ad300').eq(0).fadeIn(); }, 3000); } $('.adsmall').eq(0).show(); if ($('.adsmall').size() > 1) { setInterval(function() { var first = $('.adsmall').eq(0); first.hide(); $('.adsmall').last().after(first); $('.adsmall').eq(0).fadeIn(); }, 3000); } }) </script> <script> $(document).ready(function() { $("#adsContainer").hide(); }); </script> <!-- <div id="BackTop"></div> --> </div> <script> $(document).ready(function() { const container = $('#vote-container'); const gameId = container.data('game-id'); const likeBtn = $('#like-button'); const dislikeBtn = $('#dislike-button'); let currentVote = container.data('user-vote') || null; function sendVote(voteType, action) { $.ajax({ url: Ajaxrequest() + '?t=likevote', method: 'POST', dataType: 'json', data: { gid: gameId, vote: voteType, action: action }, success: function(res) { if (res.status === 'success') { $('#like-count').text(res.likes); $('#dislike-count').text(res.dislikes); currentVote = (action === 'remove') ? null : voteType; updateButtonUI(); } } }); } function updateButtonUI() { likeBtn.toggleClass('voted', currentVote === 'like'); dislikeBtn.toggleClass('voted', currentVote === 'dislike'); } updateButtonUI(); likeBtn.click(function() { if (currentVote === 'like') { sendVote('like', 'remove'); } else if (currentVote === 'dislike') { sendVote('like', 'switch'); } else { sendVote('like', 'add'); } }); dislikeBtn.click(function() { if (currentVote === 'dislike') { sendVote('dislike', 'remove'); } else if (currentVote === 'like') { sendVote('dislike', 'switch'); } else { sendVote('dislike', 'add'); } }); $('#favorite-button').click(function() { const btn = $(this); const icon = btn.find('i'); $.ajax({ url: Ajaxrequest() + '?t=favorite_toggle', method: 'POST', dataType: 'json', data: { gid: gameId }, success: function(res) { if (res.status === 'added') { btn.addClass('favorited'); icon.removeClass('fa-heart-o').addClass('fa-heart'); } else if (res.status === 'removed') { btn.removeClass('favorited'); icon.removeClass('fa-heart').addClass('fa-heart-o'); } } }); }); }); </script> <script> var cat = ""; </script> </main> <script> //gotop $(function() { var sT = $(window).scrollTop(); if ($(window).scrollTop() != "0") $("#BackTop").fadeIn("slow"); var scrollDiv = $("#BackTop"); $(window).scroll(function() { if ($(window).scrollTop() == "0") $(scrollDiv).fadeOut("slow") else $(scrollDiv).fadeIn("slow") }); $("#BackTop").click(function() { $("html, body").animate({ scrollTop: 0 }, "slow") }); }); </script> <script src="https://www.games.org.es/templates/crazygames-like/js/global.js?ver=f34f00d25a1fcdeb93f90b3b99bd93a1"></script> <script src="https://www.games.org.es/templates/crazygames-like/js/jquery.masnory.min.js"></script> <script src="https://www.games.org.es/templates/crazygames-like/js/gamefree.js?ver=f34f00d25a1fcdeb93f90b3b99bd93a1"></script> <script src="https://www.games.org.es/static/libs/js/jquery.form.min.js"></script> <script src="https://www.games.org.es/static/libs/js/root.js"></script> <script src="https://www.games.org.es/templates/crazygames-like/js/general.js?ver=search-fix-20260616-3"></script> <script src="https://www.games.org.es/templates/crazygames-like/js/index.js?ver=f34f00d25a1fcdeb93f90b3b99bd93a1"></script> <script src="https://cdn.jsdelivr.net/npm/@splidejs/splide@3.6.12/dist/js/splide.min.js"></script><script></script> <script> $('.sidebar').mouseenter(function() { $('.logo-icon').css('width', '120px'); $('.logo-icon').attr('src', '../../../static/logo/kizi/logo.png'); }); $('.sidebar').mouseleave(function() { $('.logo-icon').css('width', '35px'); $('.logo-icon').attr('src', '../../../static/logo/kizi/logo-35.png'); }); </script> </body> </html>