Hi hilaire

Some students at Prague are working on different 2D games with Bloc
and this is working.
Some did a sokoban, other a miner (check on pharo weekly).

They use Bloc and I will ask them to make public their code.
No need for SDL. SDL is ***low level***.

Now modeling the board and proposing some abstractions that can be
easily extended is difficult.
and this is what lauraMaximilliano did in MetaBorg.

It was on my todo to do a pass. I implemented a grid to help the
design of board game.
Now having direction/location can be good.

What is interesting in the design of metaborg is that we do not test
if an object can move to
a place. We go to the place and the place pull the item.
A wall will not pull for example while a empty slot will pull the item to move.

I found it intriguing and I would like to know if this is working for
more complex situation.

Maximiliano implemented sokoban, tetris, snake, pacman with the same framwork.
Now it is a bit abstract but an interesting experience.


Stef

On Sun, Dec 31, 2017 at 2:41 PM, Hilaire <hila...@drgeo.eu> wrote:
> I am *exploring* if Pharo will be suitable to have a simple programming
> environment to let kids write simple 2D games, SDL was designed for that.
>
> Some of my students asked me about programming games, Smalltalk way of
> writing code will be neat, but the environment need to be accessible and not
> over engineered.
>
>
> Le 30/12/2017 à 22:32, Stephane Ducasse a écrit :
>>
>> What kind of game are you targeting? Did you look at Bloc? Because to
>> me this is the way to go except if you want just a canvas
>> and reimplement your event loop. in that case SDL + Athens should work.
>
>
> --
> Dr. Geo
> http://drgeo.eu
>
>
>

Reply via email to