/* — RESET & BASIC SETUP — */
* {
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
body {
margin: 0;
padding: 0;
font-family: ‘Fredoka’, sans-serif;
background-color: #f8fafc;
color: #333;
/* Allow scrolling on any device where content is taller than screen */
overflow-y: auto;
overflow-x: hidden;
}
/* — MAIN WRAPPER — */
/* This container holds everything and centers it horizontally */
.main-wrapper {
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px 10px; /* Top/Bottom padding ensures content isn’t flush with edges */
}
.main-container {
width: 100%;
max-width: 480px; /* Limits width on PC/Tablet */
display: flex;
flex-direction: column;
gap: 15px; /* Space between Game and Promo */
}
/* — GAME CARD — */
.game-card {
background: #ffffff;
width: 100%;
border-radius: 20px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
border: 1px solid #e2e8f0;
overflow: hidden;
position: relative;
text-align: center;
}
/* — HEADER — */
.game-header {
background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
padding: 15px;
color: white;
}
.game-title {
margin: 0;
font-size: 22px;
font-weight: 700;
}
.level-badge {
background: rgba(255, 255, 255, 0.2);
padding: 3px 10px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
display: inline-block;
margin-top: 5px;
border: 1px solid rgba(255,255,255,0.3);
}
/* — GAME BODY — */
.game-body {
padding: 15px;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
}
.instruction-text {
background: #f1f5f9;
color: #475569;
padding: 6px 14px;
border-radius: 50px;
font-size: 13px;
display: inline-block;
margin-bottom: 15px;
font-weight: 600;
}
/* — TIMER SECTION — */
.timer-wrapper {
display: none;
width: 100%;
margin-bottom: 20px;
}
.timer-info {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 5px;
font-size: 14px;
font-weight: 700;
color: #64748b;
}
.timer-val {
color: #10b981;
transition: color 0.3s;
}
.timer-box {
width: 100%;
height: 8px;
background: #e2e8f0;
border-radius: 10px;
overflow: hidden;
}
.timer-fill {
height: 100%;
width: 100%;
background: #10b981;
border-radius: 10px;
transition: width 1s linear;
}
.timer-danger .timer-fill { background: #ef4444; }
.timer-danger .timer-val { color: #ef4444; }
/* — BUBBLES GRID — */
.triangle-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px; /* Tighter gap for small screens */
justify-items: center;
width: auto;
margin: 0 auto 15px auto;
}
.bubble-wrapper:nth-child(3) { grid-column: span 2; }
.bubble-wrapper { position: relative; }
.bubble {
/* Responsive sizing logic: */
/* Never smaller than 70px, never larger than 100px */
width: clamp(70px, 22vw, 100px);
height: clamp(70px, 22vw, 100px);
border-radius: 50%;
background: #fff;
border: 3px solid #111827;
color: #111827;
/* Font size scales with viewport */
font-size: clamp(18px, 5vw, 24px);
font-weight: 700;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
user-select: none;
box-shadow: 0 4px 0 #111827;
transition: transform 0.1s, box-shadow 0.1s;
position: relative;
top: 0;
animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
touch-action: manipulation;
}
@keyframes popIn {
0% { transform: scale(0); opacity: 0; }
100% { transform: scale(1); opacity: 1; }
}
.bubble:active {
top: 4px;
box-shadow: 0 0 0 #111827;
}
.bubble.selected {
background: #dbeafe;
border-color: #2563eb;
color: #2563eb;
box-shadow: 0 4px 0 #2563eb;
}
.bubble.selected:active {
box-shadow: 0 0 0 #2563eb;
}
.order-badge {
position: absolute;
top: -2px; right: -2px;
width: 22px; height: 22px;
background: #ef4444;
color: white;
border-radius: 50%;
border: 2px solid white;
font-size: 11px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
transform: scale(0);
transition: transform 0.2s;
z-index: 2;
}
.bubble.selected + .order-badge { transform: scale(1); }
/* — FEEDBACK — */
.result-icon {
font-size: 35px;
height: 45px;
margin-top: 5px;
}
.floating-score {
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
font-size: 40px;
font-weight: bold;
color: #10b981;
opacity: 0;
pointer-events: none;
z-index: 100;
}
.float-up { animation: floatUp 0.8s ease-out forwards; }
@keyframes floatUp {
0% { opacity: 1; transform: translate(-50%, 0px) scale(0.5); }
100% { opacity: 0; transform: translate(-50%, -50px) scale(1.2); }
}
.btn-start {
background: #111827;
color: white;
border: none;
padding: 14px 0;
width: 100%;
font-size: 16px;
font-weight: bold;
border-radius: 12px;
cursor: pointer;
box-shadow: 0 8px 15px -3px rgba(0,0,0,0.3);
font-family: inherit;
z-index: 20; position: relative;
}
.btn-start:active { transform: scale(0.98); }
.confetti {
position: absolute;
width: 8px; height: 8px;
background-color: #f00;
top: -10px;
z-index: 5;
animation: fall linear forwards;
}
@keyframes fall { to { transform: translateY(400px) rotate(720deg); } }
.shake { animation: shake 0.5s; }
@keyframes shake { 0%, 100% {transform: translateX(0);} 25% {transform: translateX(-5px);} 75% {transform: translateX(5px);} }
/* — PROMO SECTION — */
.promo-box {
text-align: center;
width: 100%;
background: white;
padding: 15px;
border-radius: 20px;
border: 1px solid #e2e8f0;
/* Ensure it doesn’t overflow horizontally */
max-width: 100%;
}
.whatsapp-link {
align-items: center;
display: flex;
justify-content: center;
gap: 10px;
margin: 15px 0;
flex-wrap: wrap;
}
.whatsapp-btn {
background: rgb(229, 57, 53);
border-radius: 6px;
color: white;
display: inline-block;
font-weight: 600;
padding: 8px 16px;
text-decoration: none;
font-size: 14px;
}
/* Responsive Video Container */
.video-container {
position: relative;
width: 100%;
/* 16:9 Aspect Ratio hack */
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }
.blink-btn { animation: blink 1s infinite; }
Bubble Select
20s
Click Here
for Reference Video :-
The Select Bubbles game is a key part of the
Accenture gaming round practice.
In this game, multiple bubbles are displayed on the screen,
and each bubble contains a mathematical expression.
Your task is to solve the expressions and select the bubbles in the
correct ascending order.
This game focuses on your numerical ability,
logical sequencing, and
attention to detail.
Speed alone is not enough — accuracy is critical to succeed.
How the Select Bubbles Game Works
- Three or more bubbles appear on the screen
- Each bubble contains a mathematical expression
- You must mentally solve each expression
- Bubbles must be selected in ascending order of their results
- Incorrect selection may lead to wrong answers or reset
How to Solve Select Bubbles in Accenture Gaming Round
- Solve all mathematical expressions before clicking any bubble
- Write down or mentally note the final values
- Compare the results and arrange them from smallest to largest
- Be careful with negative numbers and brackets
- Avoid clicking quickly without rechecking calculations
Common Mistakes to Avoid
- Ignoring brackets and operator precedence
- Assuming the smallest expression visually is the smallest value
- Rushing due to time pressure
- Skipping calculation steps
Skills Tested in Select Bubbles Game
- Basic arithmetic accuracy
- Logical ordering
- Concentration under pressure
- Fast and accurate decision making
Why Select Bubbles Practice Is Important
Many candidates lose marks in the Accenture assessment
due to calculation mistakes rather than lack of knowledge.
Consistent accenture gaming round practice helps you
improve speed, accuracy, and confidence in the Select Bubbles game.
Practicing this game regularly prepares you to handle similar
logic-based numerical questions in the actual Accenture gaming round.
(function () {
var TOTAL_ROUNDS = 15;
var ROUND_TIME = 20;
var currentRound = 0;
var score = 0;
var selected = [];
var locked = true;
var timer, timeLeft;
var gameCard = document.getElementById(“gameCard”);
var bubblesDiv = document.getElementById(“bubbles”);
var roundText = document.getElementById(“round”);
var diffText = document.getElementById(“diffText”);
var resultIcon = document.getElementById(“resultIcon”);
var finalScore = document.getElementById(“finalScore”);
var floatingScore = document.getElementById(“floatingScore”);
var timerLine = document.getElementById(“timerLine”);
var timerText = document.getElementById(“timerText”);
var timerArea = document.getElementById(“timerArea”);
var startBtn = document.getElementById(“startBtn”);
var restartBtn = document.getElementById(“restartBtn”);
function rand(min, max) { return Math.floor(Math.random() * (max – min + 1)) + min; }
function spawnConfetti() {
for(let i=0; i c.remove(), 1500);
}
}
function updateDifficulty() {
if (currentRound <= 5) diffText.innerText = "EASY";
else if (currentRound <= 10) diffText.innerText = "MEDIUM";
else diffText.innerText = "HARD";
}
function makeExpression() {
var ops, op1, op2, a, b, c, text, value;
if (currentRound <= 5) {
ops = ["+", "-"]; op1 = ops[rand(0, 1)];
a = rand(5, 20); b = rand(2, 15);
if (op1 === "-" && a < b) { var t = a; a = b; b = t; }
text = a + " " + op1 + " " + b;
value = (op1 === "+") ? (a + b) : (a – b);
} else if (currentRound <= 10) {
ops = ["+", "-", "×"]; op1 = ops[rand(0, 2)];
if (op1 === "×") { a = rand(2, 9); b = rand(2, 9); value = a * b; }
else { a = rand(10, 50); b = rand(5, 40);
if (op1 === "-" && a < b) { var t = a; a = b; b = t; }
value = (op1 === "+") ? (a + b) : (a – b); }
text = a + " " + op1 + " " + b;
} else {
ops = ["+", "-", "×"]; op1 = ops[rand(0, 2)]; op2 = ops[rand(0, 2)];
a = rand(2, 10); b = rand(2, 10); c = rand(2, 10);
text = a + " " + op1 + " " + b + " " + op2 + " " + c;
var calcText = text.replace(/×/g, "*");
value = eval(calcText);
if (value < 0 || !Number.isInteger(value)) return makeExpression();
}
return { text: text, value: value };
}
function startGame() {
score = 0; currentRound = 1;
startBtn.style.display = "none";
restartBtn.style.display = "none";
finalScore.innerHTML = "";
timerArea.style.display = "block";
loadRound();
}
function startTimer() {
clearInterval(timer);
timeLeft = ROUND_TIME;
timerLine.style.width = "100%";
timerArea.className = "timer-wrapper";
timerText.innerText = timeLeft + "s";
timer = setInterval(function () {
timeLeft–;
timerLine.style.width = (timeLeft / ROUND_TIME) * 100 + "%";
timerText.innerText = timeLeft + "s";
if (timeLeft <= 5) {
timerArea.className = "timer-wrapper timer-danger";
}
if (timeLeft gameCard.classList.remove(“shake”), 500);
} else {
resultIcon.innerHTML = “✅”;
score++;
spawnConfetti();
floatingScore.classList.remove(“float-up”);
void floatingScore.offsetWidth;
floatingScore.classList.add(“float-up”);
}
setTimeout(function () {
currentRound++;
if (currentRound <= TOTAL_ROUNDS) {
loadRound();
} else {
roundText.innerHTML = "Done";
bubblesDiv.innerHTML = "";
timerArea.style.display = "none";
resultIcon.innerHTML = "";
diffText.innerText = "FINISHED";
finalScore.innerHTML = "🏆 Final Score: " + score + " / " + TOTAL_ROUNDS;
restartBtn.style.display = "inline-block";
}
}, 1000);
}
function loadRound() {
bubblesDiv.innerHTML = "";
selected = [];
locked = false;
resultIcon.innerHTML = "";
roundText.innerHTML = currentRound;
updateDifficulty();
startTimer();
var used = {};
var bubbles = [];
while (bubbles.length < 3) {
var e = makeExpression();
if (!used[e.value]) { used[e.value] = true; bubbles.push(e); }
}
for (var i = 0; i < bubbles.length; i++) {
(function (b) {
var wrap = document.createElement("div");
wrap.className = "bubble-wrapper";
var bubble = document.createElement("div");
bubble.className = "bubble";
bubble.innerHTML = b.text;
var badge = document.createElement("div");
badge.className = "order-badge";
bubble.onclick = function () {
if (locked) return;
var idx = selected.indexOf(b.value);
if (idx !== -1) {
selected.splice(idx, 1);
bubble.className = "bubble";
badge.innerText = "";
return;
}
if (selected.length < 3) {
selected.push(b.value);
bubble.className = "bubble selected";
badge.innerText = selected.length;
}
if (selected.length === 3) {
var correct = selected.slice().sort(function (a, c) { return a – c; });
var ok = true;
for (var j = 0; j < 3; j++) {
if (selected[j] !== correct[j]) { ok = false; break; }
}
endRound(!ok);
}
};
wrap.appendChild(bubble);
wrap.appendChild(badge);
bubblesDiv.appendChild(wrap);
})(bubbles[i]);
}
}
startBtn.onclick = startGame;
restartBtn.onclick = startGame;
})();