Pseudocode — Your Best Friend When Programming

A monkey thinking
Even this monkey take their time to think about a problem before tackling it.

What is pseudocode

Pseudocode is a way of writing code without following a specific programming language or syntax. It remains closer to our own daily language. It is therefore easier to read as code and it is easier to recognize the missing pieces. Thus it helps to gain more clarity before coding the related steps in your programming language.

Player has 10 liveIf live is 1 or greater than the player can continueIf live is bellow 1 then destroy the player
private int _live = 10;
if (_live < 1){Destroy(this.gameObject);}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store