Re: [Pharo-users] XsOs game

2014-02-09 Thread Маркіян Різун
but clicked look quite long. May be you should create another class that can represent the logic of the game. A really interesting exercise would be to see how you can create a boardGame for 15*15 and see how it breaks some hidden rules. On 08 Feb 2014, at 15:07, Маркіян Різун mri...@gmail.com wrote

Re: [Pharo-users] XsOs game

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

Re: [Pharo-users] XsOs 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 damien.cas...@gmail.com: Would you consider writing a

Re: [Pharo-users] XsOs game

2014-02-04 Thread Маркіян Різун
That's a good idea:) I should think how to write this tutorial. 2014-02-04 Yuriy Tymchuk yuriy.tymc...@me.com: On 04 Feb 2014, at 18:08, Yuriy Tymchuk yuriy.tymc...@me.com wrote: On 04 Feb 2014, at 18:04, Маркіян Різун mri...@gmail.com wrote: Really appreciate your comments

Re: [Pharo-users] XsOs game

2014-02-04 Thread Маркіян Різун
2014-02-04 Yuriy Tymchuk yuriy.tymc...@me.com: 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.

Re: [Pharo-users] XsOs game

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

Re: [Pharo-users] XsOs game

2014-02-03 Thread Маркіян Різун
Sure, that is in my plans:) 2014-02-03 kilon alios kilon.al...@gmail.com: 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, Маркіян Різун mri...@gmail.com wrote

Re: [Pharo-users] XsOs game

2014-02-03 Thread Маркіян Різун
Thx) That's nice 2014-02-03 kilon alios kilon.al...@gmail.com: 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, Маркіян Різун mri...@gmail.com wrote: Sure, that is in my plans:) 2014-02-03 kilon

[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] 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 , Маркіян Різун mri...@gmail.com wrote: Hello! Task is simple - draw a line on a form(actually this line will be a border

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 s...@clipperadams.com Маркіян Різун wrote appropriate replacement for it. Hi! See ImageMorph. IIRC there is a good class comment - Cheers, Sean -- View this message in context: http

Re: [Pharo-users] Laser Game

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

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 stephane.duca...@inria.fr On Sep 3, 2013, at 12:07 PM, Маркіян Різун mri...@gmail.com wrote: I was dealing with laser game on pharo and found two

Re: [Pharo-users] Laser Game

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

Re: [Pharo-users] Laser Game

2013-09-03 Thread Маркіян Різун
There are different errors: SubscriptOutOfBounds: 1 , MessageNotUnderstood: PasteUpMorphmorphToDropForm: . Mark 2013/9/3 Yuriy Tymchuk yuriy.tymc...@me.com Hi. Maybe you can provide more detail about the error? uko On 3 вер. 2013, at 13:07, Маркіян Різун mri...@gmail.com wrote: I

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 stephane.duca...@inria.fr On Aug 16, 2013, at 11:11 AM, Маркіян Різун mri...@gmail.com wrote: Hi, everyone! I have been working on a tutorial 'how

Re: [Pharo-users] Laser Game

2013-09-02 Thread Маркіян Різун
problems just when they appear and not end up with a tons of unknown stuff. ;) Uko On 2 вер. 2013, at 15:02, Маркіян Різун mri...@gmail.com wrote: 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

[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

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

2013-07-15 Thread Маркіян Різун
Thank you guys. 2013/7/15 Yuriy Tymchuk yuriy.tymc...@me.com 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, Маркіян Різун mri...@gmail.com wrote: Version 2.0 Repository: MCHttpRepository

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

2013-06-04 Thread Маркіян Різун
. Clement 2013/6/4 Маркіян Різун mri...@gmail.com 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