Tetris example?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Tetris example?

drush66
Hi,

I am trying to fire up Tetris example on the amber lang home page. I go to the workspace tab and enter:

'body' asJQuery append: Tetris new startNewGame

but it gets into the walk back loop, and switching tabs gets impossible.

Davorin Rusevljan

Reply | Threaded
Open this post in threaded view
|

Re: Tetris example?

Bernat Romagosa
You should do:

Tetris new appendToJQuery: 'body' asJQuery

I think the example was never finished though... maybe we should either finish it or remove it from the Examples...

Cheers,

2011/11/4 Davorin Ruševljan <[hidden email]>
Hi,

I am trying to fire up Tetris example on the amber lang home page. I go to the workspace tab and enter:

'body' asJQuery append: Tetris new startNewGame

but it gets into the walk back loop, and switching tabs gets impossible.

Davorin Rusevljan




--
Bernat Romagosa.
Reply | Threaded
Open this post in threaded view
|

Re: Tetris example?

Nicolas Petton
On Fri, 2011-11-04 at 15:43 +0100, Bernat Romagosa wrote:
> You should do:
>
>
> Tetris new appendToJQuery: 'body' asJQuery
>
>
> I think the example was never finished though... maybe we should
> either finish it or remove it from the Examples...

Yep, I don't know if it's even working at all. I'll move it into another
branch.

Cheers,
Nico

>
>
> Cheers,
>
> 2011/11/4 Davorin Ruševljan <[hidden email]>
>         Hi,
>        
>         I am trying to fire up Tetris example on the amber lang home
>         page. I go to the workspace tab and enter:
>        
>         'body' asJQuery append: Tetris new startNewGame
>        
>         but it gets into the walk back loop, and switching tabs gets
>         impossible.
>        
>         Davorin Rusevljan
>        
>
>
>
>
> --
> Bernat Romagosa.
>