Open AkshayAgarwal007 opened 8 years ago
Another thing we will be adding soon should be a set of style guidelines. This is open right now but will probably be defined by the student(s) who get selected to work on it during GSoC2016. Having a defined style guide helps when more than one developer is actively working on the code base.
Adding to it,
After making the code more modular as @AkshayAgarwal007 suggested, we may also create a template kind of a file. Since we are using the same UpdateScore, UpdateTime, UpdateLife, UpdateLevel and PlayAndPause functions and rewriting the game logic in new functions for any respective games, this is feasible.
During this process, we could also figure out and frame the style guidelines as @scottmc suggested. And it would be better if we could complete it before the community bonding period so that the selected student(s) can easily start working on the code-base.
Having a reusable code may help new developers to work only on the game logic and not to worry about the other implementations. And also, this will add in uniformity to the Tux4ME games.
@Vigneshsekar Doing this would be very helpful for anyone who would continue with this project. Do you want to use something like generator-phaser-browserify for making it structured? @scottmc I wrote this because I saw developers contributing games but not trying to address these issues in their code though some of the issues were already there before they contributed. This might serve as a base for anyone who wishes to contribute now or would continue with this project during GSoC.
To add to #40 that @Vigneshsekar has raised.
Ideas posted by someone who himself wishes to work on that idea/ developers who want to contribute to Tux4ME should follow a few guidelines while developing their games and this is based on the prior discussions on developers who have contributed games previously as well as a few issues that we would want to address, specifically referring to #1 #25 #2 #37 #39 #28 and #30.
For Developers We would want that every developer succeeds in getting their code committed to the repo as well as gets its featured on the Tux4ME website and their names being added to the contributor's list and why not when you have developed it after so much of hard work, everyone deserves the appreciation. But the code has to maintain certain guidelines or rather say address a few issues that we are working upon :
These are a few suggestions from my side based on prior discussion on the repo with @Vigneshsekar that I felt might be helpful to any developer who wishes to contribute. Anyone who wishes to add something to this, modify something or wants me to take something off or report any discrepancies with what I have written are welcomed with their suggestions. Also some of them are ideas that still needs the approval of the community.