Dreamcatblog.dreamcat.uk·Mar 12, 2024How we built a semaphore puzzleThe first in our "anatomy of a puzzle" series... In 2021, as the pandemic was thawing, we set out to build a new puzzlehunt: The World’s Fair, a Jules Vernian Victorian steampunk adventure. (It eventually morphed into the Octonet puzzlehunt, but tha...Discuss·74 readssemaphore
cybermetaltechcybermetaltech.hashnode.dev·Nov 22, 2023Python Puzzle #1 (codewars - 8kyu)name: even or odd description: Create a function that takes an integer as an argument and returns "Even" for even numbers or "Odd" for odd numbers. my solution: def even_or_odd(number): if number % 2 == 0: return "Even" else: return "Odd" explication...DiscussPython
Reilly Rudolphrelly.hashnode.dev·Oct 5, 2023What makes Connections Puzzle so popular?Introduction Connections Puzzle is a captivating word puzzle game that presents players with the task of discerning and resolving the shared subject that unites four sets of four words. The game integrates elements of critical thinking, vocabulary, a...Discusspuzzle
Peter Hrobardihjital.hashnode.dev·May 4, 2023Solve a puzzle with programmingSolving a logical puzzle with programming Solve the puzzle in a way that each symbol has its unique value. Guess the operation between the symbols in the cells and then add the cells together to get the number on the right and the bottom. I couple o...Discusspuzzle
Vedamruta Udavantvedamrutacodes.hashnode.dev·Apr 24, 2023JavaScript Sorting Made Easy: `sort()` method"Ahh, finally Life is sorted !!" says people. What does that mean? I don't get it. However, I have learned Array.prototype.sort() aka sort(). Come on, let's sort this out ;) sort() is a higher-order function in JavaScript that implements sorting of e...Discuss·2 likes·117 readsJavaScript
Lucylilkittykat.hashnode.dev·Feb 16, 2023Lucky numbers in JS!What is a lucky number? So we are going to create some code which I used as a challenge to the members of a Discord server I'm in. The challenge had the following criteria: A lucky number is defined as any number that has a '6' or an '8' in it. A nu...Discuss·2 likes·325 readsJavaScript
Lucylilkittykat.hashnode.dev·Feb 4, 2023February JS Challenge 1: Answers!Warning! Please don't read this if you haven't done the challenge yet, or wish to only find out how it was done! Solution So let's take a look at our text to decipher: 54686973007761730061007265616c6c7900746f756768006368616c6c656e676500666f72006d652...Discuss·4 likes·110 readsJavaScript
Lucylilkittykat.hashnode.dev·Feb 3, 2023February JS Challenge 1!Hey and Happy February everyone! I'm in a Discord of like-minded enjoyers of coding, called StackUp. I've recently started challenging the community there to JS challenges and wanted to spread this here in case it interests the wider public! This wee...Discuss·1 like·72 readsJavaScript
Ionuț HodinăforhDeveloperdev.hodina.net·Jan 1, 2023Given 2 big numbers, what is the modulus?Intro I received this puzzle in one of my interview coding assignments, and I particularly enjoyed it. Even if the statement sounded quite hard at the beginning, it turned out to have a simple approach. Below is my rough solution. The puzzle Indeed, ...Discuss·3 likes·60 readsPuzzlespuzzle
Praveen AgrawalforAlphaCoder Academy Blogsalphacoderacademy.hashnode.dev·Dec 5, 2022King Octopus 🐙 and 4 Servants | PuzzleToday we'll learn How to solve the King octopus puzzle Question King Octopus has 4 servants with six, seven, or eight legs. The servants with seven legs always lie, but the servants with either six or eight legs always say the truth. One day, 4 serva...Discuss·112 readsPuzzlespuzzle