I'm not sure, but I think that at the code below ↓....
> def update
> if @y > @game.window.height
>............................................................
.... I think you should make it "if @y >= @game_window.height
In your initialize method, you have the variable @game_window, but you
referenced it as @game.window. Also, it might help if you add the
equal sign where I did above.