Re: Iagno TODO. Ideal Solution?
- From: "Thomas H.P. Andersen" <phomes gmail com>
- To: Vipin Nair <swvist gmail com>
- Cc: games-list gnome org
- Subject: Re: Iagno TODO. Ideal Solution?
- Date: Tue, 12 Jun 2012 22:55:39 +0200
Hi Vipin,
Moving the computation to a separate thread would be very welcome.
There is a sample on the wiki:
https://live.gnome.org/Vala/ThreadingSamples
A visual cue that the computer is thinking would also be very nice.
I'm not sure if it should be an infobar, a spinner or something else.
It should probably be integrated in the new design in bug 664983
https://bugzilla.gnome.org/show_bug.cgi?id=664983
On Tue, Jun 12, 2012 at 10:37 PM, Vipin Nair <swvist gmail com> wrote:
> Hi,
>
> I am a long time othello fan and I use Iagno quiet often. When I am
> playing against the computer with a higher difficulty level, the
> system just pauses without any sort of indication. Initially I assumed
> that some bug causes the system to freeze but I noticed that the game
> was actually calculating its next move. I did notice that a bug
> report[1] has already been filed filed for this issue.
>
> I cloned the git repo and found this feature request in the TODO[2]
> list. As a quick hack, I added a show_message() call just before the
> computer_move_cb() was called and did a infobar.hide() after the move
> function was called. This does work but is not a very good solution.
> What would be a ideal solution for this issue?
>
> Also, when the next move is being calculated, the UI freezes. An ideal
> way to solve this would be to move all non UI work like move
> computation to a separate thread. I am new to Vala but I can devote
> some time and would like to do this.
>
> [1] : https://bugzilla.gnome.org/show_bug.cgi?id=674978
> [2] : http://git.gnome.org/browse/gnome-games/tree/TODO
>
>
> --
> Regards,
> Vipin Nair
> National Institute of Technology, Calicut
> http://swvist.github.com
> _______________________________________________
> games-list mailing list
> games-list gnome org
> https://mail.gnome.org/mailman/listinfo/games-list
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]