> 42 Luxembourg coding school_

Duck Hunt

the escape game our lifeguards coded for the piscine

42 Luxembourg is a coding school: free, no teachers, no classes. Students learn to program by writing code and reviewing each other's projects.

Its entry test, the piscine, is a month of intensive programming. Try two of its puzzles:

Logic game Memory game

Logic game: write a program, with functions, conditions and recursion, that makes the duck pick up every star. Memory: repeat the duck's jumps.

Leaderboard

Logic game

Nobody yet. Be the first!

Memory

Nobody yet. Be the first!

Coded by our students

Real programming projects from the 42 curriculum.

Fly-in

by kmalfois

  • Python
  • Pathfinding
  • Godot 3D

A fleet of drones crosses a network of hubs in as few turns as possible, without breaking any capacity rule. Pathfinding in Python, 3D replay in Godot.

See the code

Fly-in

by sthinnes

  • Python
  • Pathfinding
  • Pygame

A fleet of drones crosses a network of hubs in as few turns as possible, without breaking any capacity rule. Pathfinding in Python, Pokémon-style pixel-art replay in Pygame.

A-Maze-ing

by sthinnes & cvilbois

  • Python
  • Maze algorithms
  • Pygame

A maze generator in Python, with a 42 hidden in every maze: backtracker or Prim's algorithm, a solver, and a starfighter to fly to the Death Star. The project right before Pac-Man in the curriculum: its mazes are the ground Pac-Man runs on.

Pac-Man

by kmalfois & juruan

  • Python
  • Ghost AI
  • Arcade

Pac-Man rebuilt in Python with Arcade: a new maze generated for every level, and four ghosts that each hunt their own way, like in the 1980 original. Blinky chases, Pinky ambushes, Inky flanks with Blinky, Clyde keeps his distance.