Skip to content
PN Scripts

Cogtrail

Program a little robot with command blocks to collect gears: 30 puzzles on sequences, loops, functions and conditions.

Platform
BROWSER
Genre
Educational

About this title

About this title

Cogtrail is a programming puzzle game. Build a program from command blocks (forward, turn, jump, pick up, place, a loop, a function and an if-gear-ahead test), press Run and watch a little robot carry it out step by step, with the running block highlighted. 30 workshop levels introduce one idea at a time: sequences, then jumps between heights, then loops, functions and finally conditions. Each level gives up to three stars for using as few blocks as its reference solution, and every level is checked solvable. It plays in the browser with a keyboard, mouse or touch.

The PN Scripts family

Other PN Scripts sites

Hosting, games and the blog each have their own site, run by the same company.

  • pnscripts.com

    PN Scripts

    Software engineering

    Custom web, mobile, API and game development, plus our open-source products and plugins.

  • games.pnscripts.com

    Games

    Games and game servers

    The home for PN Scripts games: free browser games you can play right now, with game servers coming soon.

    You are here

  • hosting.pnscripts.com

    Hosting

    Hosting and infrastructure

    Shared hosting, KVM VPS, dedicated servers and domains, from the same company that builds your project.

  • blog.pnscripts.com

    Blog

    Articles and field notes

    Practical articles on software development, hosting, open source and games, written by the people who build them.