Lozza - A Javascript Engine - version 1.14

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

op12no2
Posts: 490
Joined: Tue Feb 04, 2014 12:25 pm
Full name: Colin Jenkins

Lozza - A Javascript Engine - version 1.14

Post by op12no2 »

Link:-

http://op12no2.me/toys/lozza

There are 3 Javascript engines integrated now. Lozza itself, a Javascript version of Stockfish 5 and a tweaked version of Pw4n. I hope to have Garbochess there at some point if Gary is willing to allow me.

There are three main UIs: Play, Analyse and Console. They can take params. Here for example is Stockfish 5 ripping through Fine#70. Possibly useful in CCC threads to show real time analysis.

http://op12no2.me/toys/lozza/fen.htm?e= ... 0-&act=ana

The Lozza engine itself (still relatively weak) is now available as a Windows executable for use off the web (see Download button). The Javascript is still being compiled and optimised in real time, it's just a packaged node.js running Lozza. i.e. exactly the same Javascript code is running on the web and in the exe :)

To run Lozza on Linux and Mac off the web, you can now use node.js. jsUCI is additionally an option for Windows.

PS: it's probably worth clicking Ctrl+F5 a few times on the web pages and blog posts to update your cache if you've been there before.
User avatar
Graham Banks
Posts: 41472
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Lozza - A Javascript Engine - version 1.14

Post by Graham Banks »

A very stable engine for anybody thinking about trying out Lozza. :)
gbanksnz at gmail.com
User avatar
Graham Banks
Posts: 41472
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Lozza - A Javascript Engine - version 1.14

Post by Graham Banks »

Colin - just sent you an email.

The 64-bit version of Lozza 1.14 has the problem with expanding memory usage as it's thinking. It quickly starts to use up too much memory.
gbanksnz at gmail.com
op12no2
Posts: 490
Joined: Tue Feb 04, 2014 12:25 pm
Full name: Colin Jenkins

Re: Lozza - A Javascript Engine - version 1.14

Post by op12no2 »

Graham Banks wrote:Colin - just sent you an email.

The 64-bit version of Lozza 1.14 has the problem with expanding memory usage as it's thinking. It quickly starts to use up too much memory.
Thanks Graham. Both executables removed for now. Will re-upload ASAP.
User avatar
Graham Banks
Posts: 41472
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Lozza - A Javascript Engine - version 1.14

Post by Graham Banks »

op12no2 wrote:
Graham Banks wrote:Colin - just sent you an email.

The 64-bit version of Lozza 1.14 has the problem with expanding memory usage as it's thinking. It quickly starts to use up too much memory.
Thanks Graham. Both executables removed for now. Will re-upload ASAP.
Thanks. :)
gbanksnz at gmail.com
gladius
Posts: 568
Joined: Tue Dec 12, 2006 10:10 am
Full name: Gary Linscott

Re: Lozza - A Javascript Engine - version 1.14

Post by gladius »

Very nice!

You are welcome to integrate Garbochess, it's BSD licensed, free for re-use in any fashion :).
op12no2
Posts: 490
Joined: Tue Feb 04, 2014 12:25 pm
Full name: Colin Jenkins

Re: Lozza - A Javascript Engine - version 1.14

Post by op12no2 »

Fixed. Sorry about that.

http://op12no2.me/toys/lozza/release/lozzawin64114a.exe

It's pretty much the same as the one we were messing around with the other night. Just fixed time controls and some other minor stuff.

I've been testing with 40/1 during development, which I think has been a mistake. After Gibbon trounced Lozza the other night at 40/4, I played it here:-

200 games at 40/1 - Lozza = ~70% points
200 games at 40/2 - Lozza = ~50% points
100 games at 40/4 - Lozza = ~30% points

There is no way I'm going to figure that out by Thursday, so can you use the above link for the gauntlet. Thanks for including Lozza... :)
op12no2
Posts: 490
Joined: Tue Feb 04, 2014 12:25 pm
Full name: Colin Jenkins

Re: Lozza - A Javascript Engine - version 1.14

Post by op12no2 »

gladius wrote:Very nice!

You are welcome to integrate Garbochess, it's BSD licensed, free for re-use in any fashion :).
OK thanks Gary. I had a quick look at the code. It should be pretty easy to do.

Next step dev-wise is allow user to pick a couple of engines and get them to play a match online...
User avatar
Graham Banks
Posts: 41472
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Lozza - A Javascript Engine - version 1.14

Post by Graham Banks »

op12no2 wrote:Fixed. Sorry about that.

http://op12no2.me/toys/lozza/release/lozzawin64114a.exe

It's pretty much the same as the one we were messing around with the other night. Just fixed time controls and some other minor stuff.

I've been testing with 40/1 during development, which I think has been a mistake. After Gibbon trounced Lozza the other night at 40/4, I played it here:-

200 games at 40/1 - Lozza = ~70% points
200 games at 40/2 - Lozza = ~50% points
100 games at 40/4 - Lozza = ~30% points

There is no way I'm going to figure that out by Thursday, so can you use the above link for the gauntlet. Thanks for including Lozza... :)
Thanks for the very quick fix! :)
The Lozza gauntlet is all set up to start later this week and I'm looking forward to it.
gbanksnz at gmail.com
op12no2
Posts: 490
Joined: Tue Feb 04, 2014 12:25 pm
Full name: Colin Jenkins

Re: Lozza - A Javascript Engine - version 1.14

Post by op12no2 »

Great, thanks Graham :)