Pirate Barrel | HTML5 Game - Construct 3

Bluehost Shared Hosting
  1. Pirate Barrel

Pirate Barrel is a fun “don’t make the pirate jump” party game built with HTML5 / Construct 3, played in full 3D. A grumpy little pirate hides inside a wooden barrel ringed with colorful swords. Take turns pushing one sword into the barrel — but beware: one of the 16 slots is a secret trap, and the player who pushes the wrong sword makes the pirate leap out of the barrel and loses the round! Challenge the Computer AI offline, play locally with a friend on the same device, or compete against another player in an Online Multiplayer match.



Features:

  • Offline Mode vs Computer AI
  • Local 2-Player Offline Mode (same device)
  • Online 2-Player Multiplayer Mode (Quick Match)
  • Real 3D Scene: Wooden Barrel, Pirate and 16 Colorful Swords on a Ship Deck
  • Drag to Spin the Barrel and Find the Swords Hiding on the Other Side
  • Animated Intro Cut-Scene — a Cartoon Box Drops, Puffs Up and Opens
  • 16 Slots with 1 Random Secret Trap — Every Round is Different
  • Funny “Pirate Jump-Out” Animation with Barrel Swell and Boing Sound
  • Win Counter for Each Player Across Rounds
  • Play Again / Menu Buttons After Every Round
  • Clear Turn and Result Messages (“YOUR TURN”, “YOU WIN!”, “YOU LOSE!”)
  • Built-in How to Play Screens (4 Pages)
  • Two Languages Included: English & Indonesian (Easy to Add More)
  • Separate Menu, How to Play and Game Layouts
  • 10 Sound Effects (Click, Thud, Rattle, Inflate, Boing, Slide, Drop, Win, Wrong)
  • Touch-Friendly Controls (Portrait Mobile Layout, 1080×1920)
  • Easy to Play, Suitable for All Ages
  • Playable on PC, Mobile, and Tablet
  • HTML5 Export Ready
  • Full Project File (.c3p) Included
  • Documentation Included


How to Play



Objective:
Push swords into the barrel without being the one who makes the pirate jump. Whoever pushes the secret trap sword loses the round, and the other player wins.



Starting the Game:
Choose a game mode from the main menu and watch the short intro as the box opens and the barrel appears. Player 1 (or “You”) takes the first turn, and the status text always tells you whose turn it is.



Taking a Turn:
Tap one of the colorful swords sticking out of the barrel to push it in. If it is a safe sword, it turns grey and the turn passes to the other player. Drag left or right on the screen to spin the barrel and find the swords hiding on the other side.



The Secret Trap:
At the start of every round one of the 16 slots is randomly chosen as the trap. Nobody knows which one it is — not even the Computer AI! Push the trap sword and the barrel swells, the pirate jumps out and you lose.



Winning:
The player who makes the pirate jump loses the round. The winner earns a point on the win counter, and you can tap PLAY AGAIN to start a new round with a new random trap.



Game Modes:
The game features three different ways to play:

  • VS Computer — Play against the Computer AI without an internet connection. The AI turns the barrel, takes its time to “think” and then pushes a sword of its own.
  • 2 Players — Two players take turns on the same device, no internet connection required.
  • Play Online — Compete against another player in a real-time online match. The game automatically finds an opponent, and both players see the same barrel, the same trap and the same turns on their own device.



VS Computer:
Play against the Computer AI without requiring an internet connection. The AI acts as your opponent, so you can practice or enjoy a full match anytime.



2 Players:
Two players share the same device and take turns pushing swords. No internet connection is needed for this mode.



Online Mode:
Choose Play Online and the game connects to a room and waits for another player. Once an opponent joins, the match starts automatically. The barrel rotation, the chosen swords and the secret trap are synchronized between both devices, and each player sees their own “YOU WIN!” or “YOU LOSE!” result.



Note on Online Multiplayer:
Online Multiplayer is powered by Construct 3’s built-in Multiplayer plugin and, by default, uses Construct’s free public signalling server to connect the two players — so it works out of the box, with no extra setup required to play as described above.



However, please note that online multiplayer features in general are services that depend on an external network layer, and going beyond this basic setup — for example, more reliable connections on restrictive networks, player accounts, private rooms, matchmaking, leaderboards, or supporting a large number of concurrent players — often requires setting up an additional external backend, such as Firebase or Photon. These services typically involve ongoing subscription or usage-based hosting costs that are not included with this item and are the responsibility of the buyer/end user if they choose to add or scale up such features.



VS Computer and 2 Players modes work fully without an internet connection and do not require any backend service.



The project is built with Construct 3 and is designed to be exported as HTML5. The game can be played on PC, mobile devices, and tablets.

0 average based on 0 ratings.

kokokAyam

kokokAyam

Visit Author's Portfolio

View Portfolio
Last Update 2026-10-14
Created 2026-10-14
Sales 0
Discussion Comments
Compatible Browsers IE11 Firefox Safari Opera Chrome Edge
Software Version HTML5 Construct 3
High Resolution Yes
Files Included HTML
Video Preview Resolution