Looking for Fun Esoteric Programming Challenges for Teens

0
8
Asked By TechieTurtle92 On

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?

4 Answers

Answered By NerdyMathWizard On

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.

Answered By GameDevGenius On

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.

Answered By LogicLover17 On

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.

Answered By CreativeCoder88 On

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.