Path: csiph.com!weretis.net!feeder8.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mostowski Collapse Newsgroups: comp.lang.javascript Subject: Re: Dogelog Q&A: Can I run it on an iPad? Date: Fri, 2 Jul 2021 09:17:22 +0200 Message-ID: References: <12802251.uLZWGnKmhe@PointedEars.de> <54b6502a-c05a-43be-9c44-7896ca6b8e1cn@googlegroups.com> <2600926.mvXUDI8C0e@PointedEars.de> <11784739.O9o76ZdvQC@PointedEars.de> <5486530.DvuYhMxLoT@PointedEars.de> <20bd47ed-1d69-40bd-bb2d-8a96c59d274cn@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 2 Jul 2021 07:17:24 -0000 (UTC) Injection-Info: solani.org; logging-data="8276"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.8 X-User-ID: eJwFwQEBBDEIAzBLz1rKXg4w8C/hEodMHZSLvr5m1CjPZEqN4n903gTejQQ2D3hNXMaelzdJmFt3/aox9QFQFxWu In-Reply-To: <20bd47ed-1d69-40bd-bb2d-8a96c59d274cn@googlegroups.com> Cancel-Lock: sha1:B7P1fjIgb8sDzPMkgjS0+gRCB+Y= Xref: csiph.com comp.lang.javascript:40287 We just completed a time/1 predicate, so as to measure the performance of Dogelog runtime inside a browser. Just out of curriosity we measured the performance on our negation as failure based Tic-Tac-Toe game. Interestingly it takes only ca. 300ms. This means for later moves it will even take less time. The physiological threshold for fast response is around 100ms. So it seems feasible to provide a user interface and deliver a Tic-Tac-Toe game play via Prolog inside the browser. We quickly found a SELFHTML tutorial about the Tic-Tac-Toe game and adopted the game board from there. See also: Preview: Dogelog plays Tic-Tac-Toe via Prolog. (Jekejeke) https://gist.github.com/jburse/79c0fcaa23339d2a0968c7d54594facd#gistcomment-3799880 The final game can be found at this URL for toying around: http://www.dogelog.ch/play.html