Skip to content

A 15 puzzle written in Python / Kivy generated with ChatGPT 4.0.

License

Notifications You must be signed in to change notification settings

mlmerchant/Kivy_15_Puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Created with ChatGPT 4.0

1st Prompt:

Provide the code for a 15 Puzzle. The code should be written in Python with a UI of Kivy. The tiles should automatically resize when the window is made bigger or smaller so that they take up all available space. The aim of the game is to move the tiles so that they are in order from 1 to 15 with the blank at the lower right. Clicking on a tile will move it, provided it is adjacent to the blank.

2nd Prompt:

Modify the application so that it begins from a solved state and then shuffle it by randomly moving positions 5000 times.

3rd Prompt:

In this game, when the buttons are aligned from 1 to 15, starting form the top left, it should end the game. All the buttons should be hidden and a label should say "You won using X moves!" With X being replaced with the number of moves it took.

About

A 15 puzzle written in Python / Kivy generated with ChatGPT 4.0.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages