Looking for Fun Esoteric Programming Challenges for Teens

April 23, 2025 4 answers
Asked by guest_book_
I'm teaching a group of teenagers how to program, and they've grasped the basics pretty well. I'd like to create a lesson focused on using available tools and understanding their importance. I'm aiming to come up with a straightforward problem that has a simple solution, but requires them to use more complex programming concepts to solve it. I'm looking for ideas similar to brainf**k's unary operations, but hopefully something a bit easier. Any suggestions?

Answers

fft+win32
You might want to try getting them to generate a random maze! There are tons of different algorithms and techniques they can explore, which makes it a really fun and engaging challenge.
Reply to this answer
Wistful
The Towers of Hanoi is a classic puzzle that's great for teaching recursion. It's easy to explain but requires some serious thought to figure out the solution.
Reply to this answer
4px-stroke
Consider designing a game where players navigate from an entrance to an exit using WASD controls. Start off simple and then add obstacles that require them to implement Depth-First Search (DFS) or Breadth-First Search (BFS) algorithms to find the solution.
Reply to this answer
4 cups drying
How about creating a simple calculator? They could take a string like "4 * (3 + 7)" and have to produce the answer "40". Itโ€™s straightforward but can push them to think about parsing and computation.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions