Learn Alice - 10 Code Examples & CST Typing Practice Test
Alice is a free, educational 3D programming environment designed to teach programming concepts through drag-and-drop, story-based, and animation building. It enables users to create 3D animations, interactive narratives, and simple games without writing traditional code.
View all 10 Alice code examples →
Learn ALICE with Real Code Examples
Updated Nov 25, 2025
Code Sample Descriptions
Simple Alice Animation
character.moveForward(2)
character.turnRight(0.25)
character.say('Hello!')
character.turnAround()
A simple program where a 3D character moves forward, waves, and then turns around.
Alice - Character Walk Cycle
character.moveForward(1)
character.turnLeft(0.1)
character.turnRight(0.1)
character.moveForward(1)
Simulates a basic walking animation using Alice's motion blocks.
Alice - Camera Follow Character
camera.setPointOfView(character)
character.moveForward(3)
camera.moveForward(3)
Moves the camera to follow a character walking.
Alice - Character Jump
character.moveUp(1)
character.moveDown(1)
Defines a simple jump using up and down translations.
Alice - Simple Dialogue
alice.say('Hi there!')
bob.say('Hello!')
alice.say('How are you?')
bob.say('Doing great!')
Two characters exchange short dialogue lines.
Alice - Rotate Object Continuously
while true:
object.turnRight(0.1)
Keeps an object spinning on its axis.
Alice - Door Opening Animation
door.turnRight(1.0)
door.turnLeft(1.0)
A door swings open using rotation animation.
Alice - Flight Path Motion
bird.moveForward(2)
bird.moveUp(1)
bird.turnLeft(0.25)
bird.moveForward(2)
Simulates a bird following a curved flight path.
Alice - Character Dance Loop
for i in range(2):
character.turnRight(0.5)
character.turnLeft(0.5)
character.moveUp(0.5)
character.moveDown(0.5)
A simple dance sequence repeated twice.
Alice - Environmental Animation
sun.moveUp(3)
sun.turnRight(0.1)
sun.moveForward(1)
Animates the sun rising over a landscape.
Frequently Asked Questions about Alice
What is Alice?
Alice is a free, educational 3D programming environment designed to teach programming concepts through drag-and-drop, story-based, and animation building. It enables users to create 3D animations, interactive narratives, and simple games without writing traditional code.
What are the primary use cases for Alice?
Teaching object-oriented programming basics. Creating 3D animations and stories. Building simple interactive games. Introductory CS courses. Visualization of programming concepts
What are the strengths of Alice?
Excellent for beginners learning OOP concepts. Interactive 3D scenes encourage creativity. Drag-and-drop prevents syntax errors. Transition path to Java in Alice 3. Strong educational support
What are the limitations of Alice?
Not suitable for large or professional games. Limited 3D assets compared to real engines. Performance constraints for heavy scenes. Not extensible with custom models easily. No advanced physics or scripting
How can I practice Alice typing speed?
CodeSpeedTest offers 10+ real Alice code examples for typing practice. You can measure your WPM, track accuracy, and improve your coding speed with guided exercises.