Hello I have trouble with Bloc. I tried to install it like this as i read it in a paper on Bloc but then this does not work because there is no suchclass, istall is send to nil. I had also trouble with the tutorial earlier. I could not see anything in the preview altho the code was aparrantly fine. I really like to do something with bloc but i cant even set it up properly. Please help me. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Hello Photon, I have literally no idea where you found this paper but it is years old. Could you try to install it according to instructions on Bloc GitHub page: https://github.com/pharo-graphics/Bloc You might also want to try a MemoryGame tutorial: https://github.com/pharo-graphics/Tutorials Let me know if something does not work. P.S. Could somebody with access rights delete this page: https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/lastSucce... ? Alex On Wed, 10 Jan 2018 at 03:26, Photon <nico-braun@live.de> wrote:
Hello I have trouble with Bloc. I tried to install it like this as i read it in a paper on Bloc
but then this does not work because there is no suchclass, istall is send to nil.
I had also trouble with the tutorial earlier. I could not see anything in the preview altho the code was aparrantly fine. I really like to do something with bloc but i cant even set it up properly. Please help me.
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
-- Cheers, Alex
Hi Aliaksei, thank you for your reply. I dowloade Bloc from the source you gave me and realized the memory tutorial is the same one wich was shown at the PharoDays2017. I watched this video yesterday and tried to follow along but it did not quite work. That was the reason why I found this strange old paper. I did it now again but following the PDF file. I get the same kind of problem. The code seems to be right but when I run a new Card object wich should be grey sqaure by this point the Inspector shows nothing. Resetting the Bloc universe did not help either. <http://forum.world.st/file/t371759/Memory.png> It looks like its would be empty. Do you have any idea how I can fix this? -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Hello Photon, MgdRawCardElement does not exist in in MemoryGame. It looks like you created it yourself. Please, give us more information. For example share the implementation of that class. I am not a clairvoyant to tell where is a problem in your code without actually seeing the code. Cheers, Alex On 10 January 2018 at 15:49, Photon <nico-braun@live.de> wrote:
Hi Aliaksei,
thank you for your reply. I dowloade Bloc from the source you gave me and realized the memory tutorial is the same one wich was shown at the PharoDays2017. I watched this video yesterday and tried to follow along but it did not quite work. That was the reason why I found this strange old paper.
I did it now again but following the PDF file. I get the same kind of problem. The code seems to be right but when I run a new Card object wich should be grey sqaure by this point the Inspector shows nothing. Resetting the Bloc universe did not help either. <http://forum.world.st/file/t371759/Memory.png>
It looks like its would be empty. Do you have any idea how I can fix this?
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Then the behaviour you get is expected one. There is no bug or issue there. On page 12 in section 3.2 (Starting to draw a card) it tells you to implement a drawOnSparta: method. After that you should get the same as on Figure 3-1. Since you didn't implement it, you obviously get nothing. It is like to only buy a garage and then being surprised that there is no car inside ;) Cheers, Alex On 10 January 2018 at 18:29, Photon <nico-braun@live.de> wrote:
Id did it following this pdf: http://files.pharo.org/books-pdfs/booklet-Bloc/2017-11-09-memorygame.pdf <http://files.pharo.org/books-pdfs/booklet-Bloc/2017-11-09-memorygame.pdf>
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Omg i didnt even reaf further asuming that i should get the grey sqaure as result. Now once you say it it`s kinda obvoius. I keep practicing. Thanks again for your time :) -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Hi aliaksei I will remove this link. On Wed, Jan 10, 2018 at 6:39 AM, Aliaksei Syrel <alex.syrel@gmail.com> wrote:
Hello Photon,
I have literally no idea where you found this paper but it is years old.
Could you try to install it according to instructions on Bloc GitHub page:
https://github.com/pharo-graphics/Bloc
You might also want to try a MemoryGame tutorial:
https://github.com/pharo-graphics/Tutorials
Let me know if something does not work.
P.S. Could somebody with access rights delete this page: https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/lastSucce... ?
Alex
On Wed, 10 Jan 2018 at 03:26, Photon <nico-braun@live.de> wrote:
Hello I have trouble with Bloc. I tried to install it like this as i read it in a paper on Bloc
but then this does not work because there is no suchclass, istall is send to nil.
I had also trouble with the tutorial earlier. I could not see anything in the preview altho the code was aparrantly fine. I really like to do something with bloc but i cant even set it up properly. Please help me.
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
-- Cheers, Alex
Removed! On Wed, Jan 10, 2018 at 9:46 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
Hi aliaksei I will remove this link.
On Wed, Jan 10, 2018 at 6:39 AM, Aliaksei Syrel <alex.syrel@gmail.com> wrote:
Hello Photon,
I have literally no idea where you found this paper but it is years old.
Could you try to install it according to instructions on Bloc GitHub page:
https://github.com/pharo-graphics/Bloc
You might also want to try a MemoryGame tutorial:
https://github.com/pharo-graphics/Tutorials
Let me know if something does not work.
P.S. Could somebody with access rights delete this page: https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/lastSucce... ?
Alex
On Wed, 10 Jan 2018 at 03:26, Photon <nico-braun@live.de> wrote:
Hello I have trouble with Bloc. I tried to install it like this as i read it in a paper on Bloc
but then this does not work because there is no suchclass, istall is send to nil.
I had also trouble with the tutorial earlier. I could not see anything in the preview altho the code was aparrantly fine. I really like to do something with bloc but i cant even set it up properly. Please help me.
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
-- Cheers, Alex
Hi Stef, Awesome, thank you! Cheers, Alex On 10 January 2018 at 21:48, Stephane Ducasse <stepharo.self@gmail.com> wrote:
Removed!
On Wed, Jan 10, 2018 at 9:46 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
Hi aliaksei I will remove this link.
On Wed, Jan 10, 2018 at 6:39 AM, Aliaksei Syrel <alex.syrel@gmail.com> wrote:
Hello Photon,
I have literally no idea where you found this paper but it is years old.
Could you try to install it according to instructions on Bloc GitHub page:
https://github.com/pharo-graphics/Bloc
You might also want to try a MemoryGame tutorial:
https://github.com/pharo-graphics/Tutorials
Let me know if something does not work.
P.S. Could somebody with access rights delete this page: https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/ lastSuccessfulBuild/artifact/book-result/Bloc/Bloc.html ?
Alex
On Wed, 10 Jan 2018 at 03:26, Photon <nico-braun@live.de> wrote:
Hello I have trouble with Bloc. I tried to install it like this as i
read
it in a paper on Bloc
but then this does not work because there is no suchclass, istall is send to nil.
I had also trouble with the tutorial earlier. I could not see anything in the preview altho the code was aparrantly fine. I really like to do something with bloc but i cant even set it up properly. Please help me.
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
-- Cheers, Alex
participants (3)
-
Aliaksei Syrel -
Photon -
Stephane Ducasse