Menu
CoddyTech

Game Overview

Part of the Fundamentals section of Coddy's GDScript journey. Lesson 58 of 92.

challenge icon

Challenge

Easy

In this project you build FizzBuzz, a classic programming game. The program goes through the numbers from 1 up to a limit, and for each number it prints:

  • Fizz if the number is divisible by 3
  • Buzz if the number is divisible by 7
  • FizzBuzz if the number is divisible by both 3 and 7
  • the number itself otherwise

You will write it step by step, and the last step adds a twist to the rules.

Start with the welcome message. Replace pass with a statement that prints:

Welcome to FizzBuzz!

Try it yourself

extends Node

func _ready():
	# Print the welcome message
	pass

All lessons in Fundamentals

Practice on your own: Online GDScript compiler