As a complete and utter noob, I wanted to dip my toe in the metaphorical ocean of programming before I’m pushed in at university. It had to be something fun and rewarding to keep me interested, so I chose a Unity course which features a bit of C# programming. It’s called Learn to Code by Making Games – Complete Unity 5 Developer and is run by Ben Tristem and Brice Fernandes. It was completely funded by kickstarter and is constantly being updated with new material and changes based on learner feedback.
I know some of the expert programmers among you may tut at starting with a more Object Oriented approach but I felt that going straight into C or the like would lose me and my interest too quickly. The course is split up into projects where you end up with a more or less finished game so there’s always a sense of accomplishment.
Project 1: Number Wizard
The first project was ‘Number Wizard’ – a purely console-based number guessing game which uses a binary search algorithm and user input. You pick a number between set boundaries and by giving Higher and Lower feedback, the “game” will guess the right answer… eventually 🙂
Things I have learned:
- About functions/methods including Start() and Update()
- Unity and Monodevelop layout and basic functions
- Printing a string to the console:
(Of course, using our old friend “Hello World!”)
- Declaring and initialising variables
- Responding to key presses
- Using IF and ELSE statements
- Commenting your code
It’s not an amazing amount to start off with but baby steps, right?