Yeah, you can use Scratch. But I recommend using other languages like Python or C++, because they are 'real' coding languages and have more functions.
If you're a newbie, you can use Scratch, I guess. I'm using Python's module Pygame to write the game.