Tips and Tricks - CattyCode/cattycode.github.io GitHub Wiki
π― CattyCode Tips & Tricks
Want to boost your CattyCode skills? Here's a bunch of handy tips and tricks to make your coding smoother, faster, and more fun!
π§ General Tips
Use "Reload" to Start Fresh
In the Web Editor, press the Reload button to clear your workspace. (Use this instead of manually deleting blocks.)
Restart the App on Desktop
In the Desktop App, close and reopen CattyCode.exe
to reset everything.
(Donβt browse the files β you might delete or move something important!)
π§± Blocks & Features
Drag Blocks Into Blocks
Blocks like print
, repeat
, and if
expect other blocks inside them β drag things in like puzzle pieces!
Print Anything You Want
The print
block opens a pop-up message with whatever text you add β great for debugging or fun messages!
π§° Building Smart Code
Loops with Step Counts
The repeat count
block can do advanced loops. Try:
- From
5
to1
with step-1
(counts down!) - From
0
to10
with step2
(even numbers!)
i
is Pre-made
Variable Inside loops, just drag in the blue i
block to use the current loop value β no setup needed!
π₯οΈ Desktop App Only
Close with Alt + F4 or Task Manager
If you accidentally make an infinite loop without a stop, press Alt + F4
to close the app β or use Task Manager if itβs frozen.
Donβt Mess With the Files
Stick to using the CattyCode.exe
file. Donβt dig into the folders β you could break something by moving/deleting stuff!
π Fun Stuff to Try
The LOL Machine
Make a repeat Infinity
loop that prints "LOL"
nonstop!
(Use only in Web Editor unless you want a frozen screen! π
)
Nested Loops
Try putting a loop inside a loop β print "Hello"
3 times, 5 times each!
Stay creative and experiment! CattyCode makes programming playful. π±π