This site is currently being upgraded. You may see some code pages. You can still check out products, and feel free toΒ contact usΒ if you have any issues.
Match emoji pairs and discover fun conversation starters!
Moves
0
Matches
0
Time
0:00
π Congratulations! You’ve completed the Team Connect game! Great job bringing the team together! π
π¬ Ice Breaker Question
const emojis = [‘π’, ‘π‘’, ‘π―’, ‘β’, ‘π’, ‘π₯’];
const questions = [
“What emoji best describes your morning routine?”,
“What’s a work skill you’re proud of developing recently?”,
“If you could have any superpower at work, what would it be?”,
“What’s your favorite way to celebrate team wins?”,
“What’s one thing that always makes you smile during the workday?”,
“If your job was a movie genre, what would it be and why?”,
“What’s the best piece of advice you’ve received from a colleague?”,
“What’s your go-to method for staying organized?”,
“If you could swap jobs with anyone on the team for a day, who and why?”,
“What’s something new you’d like to learn or try this year?”
];
let gameState = {
cards: [],
flippedCards: [],
matches: 0,
moves: 0,
startTime: null,
timer: null,
gameComplete: false
};
function initGame() {
// Create pairs of emojis
const cardEmojis = […emojis, …emojis];
// Shuffle the cards
for (let i = cardEmojis.length – 1; i > 0; i–) {
const j = Math.floor(Math.random() * (i + 1));
[cardEmojis[i], cardEmojis[j]] = [cardEmojis[j], cardEmojis[i]];
}
gameState.cards = cardEmojis.map((emoji, index) => ({
id: index,
emoji: emoji,
flipped: false,
matched: false
}));
renderBoard();
startTimer();
}
function renderBoard() {
const board = document.getElementById(‘gameBoard’);
board.innerHTML = ”;
gameState.cards.forEach(card => {
const cardElement = document.createElement(‘div’);
cardElement.className = ‘card’;
cardElement.onclick = () => flipCard(card.id);
if (card.flipped) cardElement.classList.add(‘flipped’);
if (card.matched) cardElement.classList.add(‘matched’);
cardElement.innerHTML = `
?
${card.emoji}
`;
board.appendChild(cardElement);
});
}
function flipCard(cardId) {
if (gameState.gameComplete) return;
const card = gameState.cards[cardId];
if (card.flipped || card.matched || gameState.flippedCards.length >= 2) return;
card.flipped = true;
gameState.flippedCards.push(card);
renderBoard();
if (gameState.flippedCards.length === 2) {
gameState.moves++;
document.getElementById(‘moves’).textContent = gameState.moves;
setTimeout(checkMatch, 800);
}
}
function checkMatch() {
const [card1, card2] = gameState.flippedCards;
if (card1.emoji === card2.emoji) {
// Match found!
card1.matched = true;
card2.matched = true;
gameState.matches++;
document.getElementById(‘matches’).textContent = gameState.matches;
// Show question
showQuestion();
// Check if game is complete
if (gameState.matches === emojis.length) {
setTimeout(gameWin, 500);
}
} else {
// No match
card1.flipped = false;
card2.flipped = false;
}
gameState.flippedCards = [];
renderBoard();
}
function showQuestion() {
const randomQuestion = questions[Math.floor(Math.random() * questions.length)];
document.getElementById(‘questionText’).textContent = randomQuestion;
document.getElementById(‘questionModal’).style.display = ‘flex’;
}
function closeQuestion() {
document.getElementById(‘questionModal’).style.display = ‘none’;
}
function startTimer() {
gameState.startTime = Date.now();
gameState.timer = setInterval(updateTimer, 1000);
}
function updateTimer() {
if (gameState.gameComplete) return;
const elapsed = Math.floor((Date.now() – gameState.startTime) / 1000);
const minutes = Math.floor(elapsed / 60);
const seconds = elapsed % 60;
document.getElementById(‘timer’).textContent = `${minutes}:${seconds.toString().padStart(2, ‘0’)}`;
}
function gameWin() {
gameState.gameComplete = true;
clearInterval(gameState.timer);
document.getElementById(‘winMessage’).style.display = ‘block’;
}
function resetGame() {
clearInterval(gameState.timer);
gameState = {
cards: [],
flippedCards: [],
matches: 0,
moves: 0,
startTime: null,
timer: null,
gameComplete: false
};
document.getElementById(‘moves’).textContent = ‘0’;
document.getElementById(‘matches’).textContent = ‘0’;
document.getElementById(‘timer’).textContent = ‘0:00’;
document.getElementById(‘winMessage’).style.display = ‘none’;
document.getElementById(‘questionModal’).style.display = ‘none’;
initGame();
}
// Start the game when page loads
initGame();
(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement(‘script’);d.innerHTML=”window.__CF$cv$params={r:’991df04312e8f234′,t:’MTc2MTAyMDE3Ni4wMDAwMDA=’};var a=document.createElement(‘script’);a.nonce=”;a.src=’/cdn-cgi/challenge-platform/scripts/jsd/main.js’;document.getElementsByTagName(‘head’)[0].appendChild(a);”;b.getElementsByTagName(‘head’)[0].appendChild(d)}}if(document.body){var a=document.createElement(‘iframe’);a.height=1;a.width=1;a.style.position=’absolute’;a.style.top=0;a.style.left=0;a.style.border=’none’;a.style.visibility=’hidden’;document.body.appendChild(a);if(‘loading’!==document.readyState)c();else if(window.addEventListener)document.addEventListener(‘DOMContentLoaded’,c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);’loading’!==document.readyState&&(document.onreadystatechange=e,c())}}}})();
Secure Payments
Enjoy a secure and trusted payment experience every time you shop with us.
Free Shipping
Enjoy free shipping to East Malaysia, with a flat RM15 delivery fee to West Malaysia.
Online Support
Weβre here for you. Click the βContact Usβ button on our website and ask us anything.
Special Discount
Enjoy exclusive discounts on our website, including bank offers and many other special deals.