programmingMaze, code clean-up and refactoring.
Closed, ResolvedPublic

Description

Some parts of the code can be cleaned-up, make less redundant and improved and updated. This task will cover them.

Related Objects

StatusAssignedTask
Resolvedamankumargupta
amankumargupta added a parent task: Restricted Maniphest Task.Apr 12 2018, 8:51 PM

Is it possible to move the level descriptions from js file to a dedicated configuration file placed in a ressource directory (see babymatch), at the moment the level are described within the js file. I think that we need to separate the data level from the logic level. We want to be able to give just the "board definition" files to other programers to create new levels without breaking the logic.

amankumargupta added a comment.EditedApr 15 2018, 1:07 PM

Yes, I'm currently cleaning-up and refactoring the main code base to make it suitable for loops activity, so will do this change along too.

amankumargupta added a comment.EditedApr 18 2018, 8:10 PM

Since the overall final diff is too large to be reviewed at once, (around 750 insertions and deletions), I had made total 3-4 individual diffs(1 diff after each significant clean-up and refactoring).

This will be a series of differentials and there are many things in one diff which is further refactored, cleaned up or completely changed in the next diffs. Iin those cases, I'll leave comments there that it is further improved in the later diffs.

amankumargupta renamed this task from programmingMaze, minor code clean-up and refactoring. to programmingMaze, code clean-up and refactoring..Apr 19 2018, 6:37 AM
amankumargupta closed this task as Resolved.Apr 23 2018, 8:35 AM
amankumargupta moved this task from WIP to Done on the GCompris: Improvements board.