Monday, 6 January 2014

Grok Learning - Hour of Code - The Dark Tunnel

Grok Learning's third and final contribution to the hour of code project involved making a small text based game using user input, variables, if statements and loops. The biggest lesson I have learnt from this is to always test as you go along, I first wrote out a lot of code, it did not work quite right and I could not find my error so had to start afresh, this time I made a point of checking each command to make sure it did what I wanted it too then fleshed it out further to incorporate the next task. This seemed to work well and my code passed testing, however I am not 100% sure my code is as concise and clean as it could be so am setting myself the extra task of refining the code til I am certain it is the best it can be.


3 comments: