Pseusdo Code Planning

Pseusdo Code Planning


What is Pseusdo Code:
Pseusdo Code basical meaning ‘not genuine code’ is a sort of code that is readable for humans though it doesn’t have any set format other than it being understandable by you. It is like the basic idea in your head before you put in into Lua so it can be read by Roblox.

Pseusdo Code

password = ILoveRoblox
maxErrors  = 3

errors = 0

if input = password the
 open admin pannel
else
increase errors by 1
 if errors > maxErrors then
  ban user

(Sort of) Roblox Lua

local player = game.Player.LocalPlayer

local input  = -- Find input thing

local password = 'ILoveRoblox'
local maxErrors  = 3

local errors = 0

if input == password the
 -- Open admin pannel code
else
 errors = errors + 1
 if errors > maxErrors then
  ban("player")
end

How can Pseusdo Code help me:
:warning: Warning: This post is mainly targeted at scripters so if you aren’t this might not be as helpful :warning:

Have you ever writen a long script which has taken ages and then when you test it you get 101 syntax errors well Pseusdo Code can help you. How? Well by prewriting your code can help stop this problem and even help you iron out your code making it shorter and maybe even better as it is easier to change your code when it is more understandable by you.

Currently you are probably asking why would I want to waste time in building a game. The anwser to this is using Pseusdo Code can help you code and the best games take months to make and the more efferot you put in the better game you get out


Thankyou for reading if you found this helpful please give this a like so other may see this to

Did you find this post helpful
  • Yes, it was great
  • Yes, I think so
  • Yes and No
  • No, not really
  • No, rubbish

0 voters

5 Likes

Thanks this will help a ton because I suck at scripting

I’d also like to add pseudo code is great for giving rough explanations of programming topics, you’ll find it in a lot of popular learning websites like wikipedia, sometimes stack overflow.

2 Likes

I don’t understand, it turns out this code then fixes roblox?