使用Python解决乌龟瓷砖拼图游戏

Solving the turtle tiles puzzle game using Python
使用Python解决乌龟瓷砖拼图游戏

Introduction

This is a follow up of my previous article where we learnt to create a puzzle game using Python Turtle module. There we could generate as many new games as we wanted, and also replay a particular game unlimited number of times. But there was one important piece missing from the equation: finding the minimum number of moves needed to solve the puzzle (i.e. to remove all the tiles from the screen).

© 2022 开源博客 京ICP备20030565号-2 Powered by Quick API team