Re: [Pharo-users] Xs&Os game

2014-02-11 Thread Маркіян Різун
form: aForm missing but adding > > ImageMorph>>form: aForm >self image: aFrom > > makes it work. > > Phil > > > > > On Sun, Feb 9, 2014 at 9:59 PM, Маркіян Різун wrote: > >> Thanks for comment. >> I'll fix all problems and change ev

Re: [Pharo-users] Xs&Os game

2014-02-09 Thread Маркіян Різун
x27; , self > difficulty asString ]. > self vsComputer > ifTrue: [ > self easyBtn enable. > self normalBtn enable. > self impBtn enable ] > ifFalse: [ > self easyBtn disable. > self normalBtn disable. > self impBtn disable ] > This kind of code may be think that may

Re: [Pharo-users] Xs&Os game

2014-02-09 Thread Маркіян Різун
2014-02-08 22:55 GMT+02:00 kilon alios : > I really like the GUI , is it just Morphic ? > Yes it is. Your impossible mode is quite easy to win. > Sure, because impossible and normal modes are about the same for now. Today or tommorow I will update game again, and it will be impossible to win.

Re: [Pharo-users] Xs&Os game

2014-02-08 Thread Маркіян Різун
you want to play vs computer press button "ToggleMode" and choose difficulty. Initially it is easy. Mark 2014-02-05 15:57 GMT+02:00 Маркіян Різун : > Thanks, I'll certainly take a look at it > > > 2014-02-05 Damien Cassou : > > On Tue, Feb 4, 2014 at 8:58 PM, Марк

Re: [Pharo-users] Xs&Os game

2014-02-05 Thread Маркіян Різун
Thanks, I'll certainly take a look at it 2014-02-05 Damien Cassou : > On Tue, Feb 4, 2014 at 8:58 PM, Маркіян Різун wrote: > > I should think how to write this tutorial. > > > on the technical point of view, I advise you to use Pillar: > http://www.smallt

Re: [Pharo-users] Xs&Os game

2014-02-04 Thread Маркіян Різун
2014-02-04 Yuriy Tymchuk : > > > As for IA consider putting at least something. a) thing that selects first > free cell (1 -> 9); b) takes a set of free cells and selects one randomly :) > You just stole my idea for AI (Easy level). Also there should be Normal and Impossible levels. On Impossible

Re: [Pharo-users] Xs&Os game

2014-02-04 Thread Маркіян Різун
That's a good idea:) I should think how to write this tutorial. 2014-02-04 Yuriy Tymchuk : > > On 04 Feb 2014, at 18:08, Yuriy Tymchuk wrote: > > > On 04 Feb 2014, at 18:04, Маркіян Різун wrote: > > Really appreciate your comments, they are very useful for me. &

Re: [Pharo-users] Xs&Os game

2014-02-04 Thread Маркіян Різун
Really appreciate your comments, they are very useful for me. I will do my best to make commits as soon as possible to fix problems that you pointed out. Plus I've learned so much from only one message! thx:) 2014-02-04 Damien Cassou : > > > Would you consider writing a tutorial on how to implemen

Re: [Pharo-users] Xs&Os game

2014-02-03 Thread Маркіян Різун
Thx) That's nice 2014-02-03 kilon alios : > I am added my self as a watcher to your project , will definitely be > following your progress. Rock on :) > > > On Mon, Feb 3, 2014 at 12:54 PM, Маркіян Різун wrote: > >> Sure, that is in my plans:) >> >> &g

Re: [Pharo-users] Xs&Os game

2014-02-03 Thread Маркіян Різун
Sure, that is in my plans:) 2014-02-03 kilon alios : > well done , now you only need to add a computer opponent, since playing > against myself is boring because I win and lose every single time :D > > > On Mon, Feb 3, 2014 at 12:40 PM, Маркіян Різун wrote: > >>

Re: [Pharo-users] Xs&Os game

2014-02-03 Thread Маркіян Різун
To play it just type in workspace following: XsAndOsGame new openInWorld 2014-02-03 Маркіян Різун : > Hello, everyone! > > I'm working on Xs&Os game (or tic tac toe) to learn pharo. Already > uploaded a first version. Game is boring and very simple, but if somebody >

[Pharo-users] Xs&Os game

2014-02-03 Thread Маркіян Різун
Hello, everyone! I'm working on Xs&Os game (or tic tac toe) to learn pharo. Already uploaded a first version. Game is boring and very simple, but if somebody is interested here is a link: http://smalltalkhub.com/#!/~MarkRizun/XsAndOsGame/ As a novice in pharo, waiting for comments and advice. Сr

Re: [Pharo-users] Replacement for SketchMorph?

2014-01-16 Thread Маркіян Різун
Thank you very much. Comments are really helpful. Mark 2014/1/16 Sean P. DeNigris > Маркіян Різун wrote > > appropriate replacement for it. > > Hi! See ImageMorph. IIRC there is a good class comment > > > > - > Cheers, > Sean > -- > View this mess

[Pharo-users] Replacement for SketchMorph?

2014-01-16 Thread Маркіян Різун
Hello! While working with older version of Pharo I used expression: SketchMorph new withForm: myForm This lets make a morph with contents of your form. But now in Pharo SketchMorph has dissapeared, and I wonder if there is some appropriate replacement for it. Mark.

Re: [Pharo-users] Drawing a line

2014-01-16 Thread Маркіян Різун
Problem is solved) Looked at Canvas class and used it, as some of you adviced. As for me it was the best choice for such a simple task. Thank you again. 2014/1/16 Маркіян Різун > Thanks for help. I'll try out your suggestions. > Mark > 16 січ. 2014 12:50, користувач &q

Re: [Pharo-users] Drawing a line

2014-01-16 Thread Маркіян Різун
Thanks for help. I'll try out your suggestions. Mark 16 січ. 2014 12:50, користувач "Henrik Johansen" < henrik.s.johan...@veloxit.no> написав: > > On 16 Jan 2014, at 10:52 , Маркіян Різун wrote: > > > Hello! > > > > Task is simple - draw a line on

[Pharo-users] Drawing a line

2014-01-16 Thread Маркіян Різун
Hello! Task is simple - draw a line on a form(actually this line will be a border of a cell). While browsing classes I found LineSegment and LineMorph. Which of them is better to use in my case? And another question: I know how to initialize both of them, but don't know how to draw it on my form.

Re: [Pharo-users] Best wishes for 2014

2014-01-01 Thread Маркіян Різун
Happy New Year! It's nice to read such warm words. Thank you Stef:) Mark. 2014/1/1 Tudor Girba > Happy New Year, everyone! > > Doru > > > On Tue, Dec 31, 2013 at 7:53 PM, Stéphane Ducasse < > stephane.duca...@inria.fr> wrote: > >> Hi pharoers >> >> Sometimes I think that we are crazy to build

Re: [Pharo-users] Laser Game

2013-09-05 Thread Маркіян Різун
First, samegame board than I'll deal wwith laser game problem) Ok? 2013/9/5 Stéphane Ducasse > mark I suggest that you have a look at Miner or same game and see how a > board is built > > Stef > > > > On Sep 5, 2013, at 9:55 AM, Маркіян Різун wrote: > >

Re: [Pharo-users] Laser Game

2013-09-05 Thread Маркіян Різун
Or maybe I should write it from the beginnig. 2013/9/5 Маркіян Різун > I guess Marcus is right, the best option is to rewrite some (big) parts of > code. > > > 2013/9/5 Yuriy Tymchuk > >> You can explore what methods are needed and how they are implemente

Re: [Pharo-users] Laser Game

2013-09-05 Thread Маркіян Різун
I guess Marcus is right, the best option is to rewrite some (big) parts of code. 2013/9/5 Yuriy Tymchuk > You can explore what methods are needed and how they are implemented in > Squeak > > uko > > > > On 5 вер. 2013, at 10:27, Маркіян Різун wrote: > > Used Rect

Re: [Pharo-users] Laser Game

2013-09-05 Thread Маркіян Різун
Used RectangleMorph, still doesn't work. Obviously, it's because of some methods of SketchMorph that are used. 2013/9/5 Stéphane Ducasse > I should look at the tutorial because it looks really strange to me to use > a sketchMorph for a board game. > > On Sep 4, 2013, at 1

Re: [Pharo-users] Laser Game

2013-09-04 Thread Маркіян Різун
2013/9/4 p...@highoctane.be > you can get a rectanglemorph and a Form I'll try that) Thank you

Re: [Pharo-users] Laser Game

2013-09-04 Thread Маркіян Різун
I thought about that:) SketchMorph is used to create game board, so I need it. Can I use some other Morph? Mark 2013/9/3 Stéphane Ducasse > > On Sep 3, 2013, at 12:07 PM, Маркіян Різун wrote: > > I was dealing with laser game on pharo and found two problems. > 1. LedMorph is m

Re: [Pharo-users] Laser Game

2013-09-03 Thread Маркіян Різун
There are different errors: SubscriptOutOfBounds: 1 , MessageNotUnderstood: PasteUpMorph>>morphToDropForm: . Mark 2013/9/3 Yuriy Tymchuk > Hi. > > Maybe you can provide more detail about the error? > > uko > > On 3 вер. 2013, at 13:07, Маркіян Різун wrote: > &

Re: [Pharo-users] Laser Game

2013-09-03 Thread Маркіян Різун
2013/9/2 Маркіян Різун > Thanks) > > > 2013/9/2 Stéphane Ducasse > >> >> On Sep 2, 2013, at 2:05 PM, Yuriy Tymchuk wrote: >> >> Hi, >> >> yes it can. This is where your adventure begins :) >> >> Also I think that I may be easier

Re: [Pharo-users] Laser Game

2013-09-02 Thread Маркіян Різун
oblems just when they appear and not end up with > a tons of unknown stuff. > > > ;) > > > Uko > > > On 2 вер. 2013, at 15:02, Маркіян Різун wrote: > > As was suggested above I tried to load Laser Game on Pharo 2.0 and it > didn't work. > Can this problem

Re: [Pharo-users] Laser Game

2013-09-02 Thread Маркіян Різун
As was suggested above I tried to load Laser Game on Pharo 2.0 and it didn't work. Can this problem be solved? 2013/8/16 Stéphane Ducasse > > On Aug 16, 2013, at 11:11 AM, Маркіян Різун wrote: > > Hi, everyone! > I have been working on a tutorial 'how to make a

[Pharo-users] Laser Game

2013-08-16 Thread Маркіян Різун
Hi, everyone! I have been working on a tutorial 'how to make a game using smalltalk' and developed this game ( Laser Game ) on Squeak, as it is an example of development on Squeak. I'm learning, so it's a great experience for me. Laser Game is my first game and it's not complicated, but for me it t

Re: [Pharo-users] Problem with saving in repository

2013-07-15 Thread Маркіян Різун
Thank you guys. 2013/7/15 Yuriy Tymchuk > So, yeah. You should enter user and password. You can do this by > right-clicking a repository end selecting edit. > > Uko > > > > On 15 лип. 2013, at 16:05, Маркіян Різун wrote: > > Version 2.0 > Repository: >

Re: [Pharo-users] Problem with saving in repository

2013-07-15 Thread Маркіян Різун
ve forgotten to enter credentials, or just made a mistake? > > Uko > > On 15 лип. 2013, at 15:48, Маркіян Різун wrote: > > Hi guys, > When I'm trying to save my code in repository it failes and gives me error. > Am I doing something wrong? > > > >

Re: [Pharo-users] New guy in the community.

2013-06-04 Thread Маркіян Різун
emented in in amber <http://amber-lang.net/>, which could be > described as a Pharo on the web. > > Good luck with Pharo. Any question is welcomed. > > Clement > > > > 2013/6/4 Маркіян Різун > >> Hi everyone! >> My name is Mark and I'm new in Pharo com

Re: [Pharo-users] New guy in the community.

2013-06-04 Thread Маркіян Різун
et/>, which could be > described as a Pharo on the web. > > Good luck with Pharo. Any question is welcomed. > > Clement > > > > 2013/6/4 Маркіян Різун > >> Hi everyone! >> My name is Mark and I'm new in Pharo community. I live in Ukraine and >> study

Re: [Pharo-users] New guy in the community.

2013-06-04 Thread Маркіян Різун
Thank you Sven. 2013/6/4 Sven Van Caekenberghe > Hi Mark, > > Welcome ! > > On 04 Jun 2013, at 11:58, Маркіян Різун wrote: > > > Hi everyone! > > My name is Mark and I'm new in Pharo community. I live in Ukraine and > study in Ivan Franko National Univer

[Pharo-users] New guy in the community.

2013-06-04 Thread Маркіян Різун
Hi everyone! My name is Mark and I'm new in Pharo community. I live in Ukraine and study in Ivan Franko National University of Lviv on the Faculty of Applied Mathematics and Informatics. I've just finished my first year and now I want to study programming a lot (I have whole summer!). I hope, that