Blocksworld Project | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Blocksworld Project

Greetings everyone , I need to write a c++ program for a project at university. The basic idea is to input stacks of boxes and then changing the order depending on the user Input. Also only valid turns are allowed e.g only moving boxes that are at the top. But after even failing to write the code to just build the boxes iam lost. Has anybody any tips and/or helpful advices? I am glad for any help.

22nd Jun 2017, 8:08 PM
Sebastian Grieser
Sebastian Grieser - avatar
1 Answer
+ 1
Without knowing your problem I cant help you much. Try writting down what the boxes must have, and what they must be able to do. Then turn that into code. Hope this helps
20th Jun 2018, 8:12 PM
Artem Katerynych
Artem Katerynych - avatar