Pages

Monday, July 20, 2026

My First Chrome Extension - Chess FX

My First Chrome Extension - Chess FX

Have you ever dreamed of substituting chess.com audio sounds (e.g. check, checkmate, your move, your opponent's move, low time, end of game, premove etc.) with your own customized audio mp3 files? I know I have. A few Chrome extensions already do this but are limited in how many sounds you can customize. 

Have you ever wished that you could hear an audio play when something significant or noteworthy happens? Imagine losing a game and when you are down 12 points of material, your opponent manages to stalemate you, and you hear "Stalemate!!! How did that even happen???". Imagine hitting an all time high blitz rating of 2100 and you hear an voice exclaiming "Way to go! You hit a new best rating of 2100 in Blitz!". Or what if you were almost forever stuck at 995 and suddenly you won and heard this audio play "Wow! Amazing! You hit a new milestone! Congrats!"

So about three weeks ago, I practically downloaded every Chrome extension there was that allowed me to play my own sounds....well I wasn't satisfied. So I did the next thing. I created my own Chrome extension. Imagine no more.

ChessFX is a highly customized Chrome extension that transforms the Chess.com playing experience with a rich library of custom sounds, announcements, visual effects, and intelligent in-game triggers. It replaces or supplements standard board sounds for moves, captures, checks, castling, promotions, premoves, game starts, results, time pressure, draw offers, rematches, and many other events. It can also react to specific chess situations such as streaks, rating milestones, tactical motifs, opponent strength, flags, abandonment, and unusual game outcomes.








The extension includes a live session HUD that tracks performance across a playing session, including wins, draws, losses, streaks, rating movement, game duration, and other useful statistics. Its Options interface allows individual features to be enabled or disabled, while the Review tools add extra audio feedback for accuracy, brilliant moves, missed checkmates, and related post-game analysis events. ChessFX also uses custom popup graphics, cursor effects, monochrome loss effects, and specialized result presentations to give each game a stronger sense of drama and personality.

At its core, ChessFX is designed to make online chess feel more immersive, expressive, and entertaining without changing the actual rules or gameplay. It combines chess awareness, event detection, audio sequencing, interface customization, and performance tuning into one extension that adapts to live games and Game Review separately. The project has been refined through repeated testing and debugging so that its many features trigger at the right moment, avoid unwanted overlaps, and remain configurable for different playing styles.

This Chrome Extension is available at https://chromewebstore.google.com/detail/chessfx/miidnmdfockkeccigdkimccakihccjkd?hl=en 


Regards
Frankie "Durian Defense" Kam
Contact me for more details: 
Email: boonsengkam@gmail.com
WhatsApp: +6011-2001 1429
25/7/2026

P.S., if you are ever in Kuala Lumpur Malaysia on a lazy Saturday afternoon, I am the organiser of the Blitz Chess Meet Friends group. We meet every Saturday from 3pm to 6pm at Tedboy 51a. Do contact me if you want to join in the group to play casual chess. We also have a WhatsApp group with 380+ participants as well.

Update circa 3rd August 2026, 11:30am Kuala Lumpur time.
I have updated the build to version v2.4.129
ChessFX from now onwards will be known as One Leg Kick (1LK) chess extension
I have submitted it for review to Google's Chrome Library, it should be published in a few days time. 

Wednesday, March 8, 2017

HOW I USED PCem TO CREATE A VIRTUAL 486 PC. Now I can enjoy playing Tornado on it!


Tags: virtualisation, PC emulation, reviving them olde dead games, PCem, DOSBox, Tornado flight sim, high fidelity sound, pure Voodoo graphics, leave your dusty outdated PC in the attic, maximum coolness, extreme awesomeness


EXECUTIVE SUMMARY
I don't have my own 486 PC. The last time I used one was in 2002. I couldn't play lots of old games on my modern PC. So I created a virtual 486 PC on my 64-bit Windows 10 Dell laptop. Now I can play any old DOS or Windows95/98 game on my Intel i5-4210U, 1.7Ghz, 8Gb RAM Dell laptop.


Here's the thing. You've got lots of CDs of old games, but you can't play them because they can't and won't run on your modern machine. Short of downloading the revived versions from Steam or GOG.com (that's is if they are there!), there is another way. PCem.

Today I figured out how to use PCem to play the old DOS and Windows flight simulators in their native environment. Woo hoo!

I'm talking high-fidelity Soundblaster sounds and music, accurate CPU cycles as per the actual PC BIOS and motherboards. I'm talking about Voodoo1 and Voodoo2 3Dfx rendering of graphics (better than what any 3Dfx software Glide Wrapper can do). In short, I can create my own virtual 486 machine with all the trimmings (devices and drivers) so that I can play classic DOS and Windows games with the authentic 1990s aural and visual experience!

PCem is a PC emulator that's been around for some time. After lots of poking around, I managed to setup up virtual machine (emulator) running on MS-DOS 6.22 bootable disk and Windows 95. The MS-DOS bootable disk is for playing DOS games - especially Tornado which needs at least 605 kilobytes of free conventional RAM. The Windows 95 mode is for running Mig Alley and other dinosaur Windows flight simulators that modern computers abhor.

Using PCem, I emulated a 486DX/2 40Mhz machine. That was expensive state of the art back in the early 1990s.

Here are some screenshots of my efforts. PCem running on my Windows 10 laptop!


Windows 95 running in all its glory on my desktop. To run in MS-DOS 6.22,
I have to attach the MS-DOS 6.22 boot disk image file, just before Win95 kicks in.



Tornado running merrily along. An external view.

For more of this madness, read more here.

Cheers
Frankie Kam

Sunday, January 8, 2017

Creating Cinemagraphs using Microsoft Blink Cliplets -

Welcome to my first post of 2017.

Cinemagraphs are basically animated gifs created using Videos. Cinemagraphs are still photographs in which a minor and repeated movement occurs, forming a video clip. They are published as an animated GIF or in other video formats, and can give the illusion that the viewer is watching an animation.

Here are some Cinemagraph GIF files that I have created.

Screenshot 1. A discussion - 194 Kb GIF file

Screenshot 2. Digital Integration's Tornado - WSO station (225 Kb GIF file)

Screenshot 3. Digital Integration's Tornado - WSO station again (223 Kb GIF file)

A Cinemagraph makes the GIF file come alive! You can select just a small portion to animate whilt the rest of the screen is static. As in the Screenshot 1. 

Here's the best part of a Cinemagraph. It's file size is smaller compared to an animated GIF of the same content. Look at Screenshot 3. An animated GIF of the same countent would be at least 2 Megabytes in size. The Cinemagraph is a 10 times smaller than the animated GIF. Using a Cinemagraph on a web page would lead to faster load times of a webpage, compared to a bloated animated GIF. 

Here is the link to download the Cinemagraph program (free by Microsoft)

Here is the link to other examples of cinemagraphs
http://www.hongkiat.com/blog/cinemagraph/

Cheers
Frankie Kam

Sunday, November 20, 2016

Play Digital Integration's Tornado on your iPad Air (and any DOS game, for that matter) and on any iOS device

Source: Nobbby. Pixabay CC0 Public Domain
https://pixabay.com/en/ipad-apple-silver-tablet-touch-1177347/

I just discovered how to play Digital Integration's venerable 23-year old DOS game Tornado on my iPad Air. I used iDOS 2 and the iExplore app. Check out these screenshots. The game runs well on my 2014 iPad Air. And it will also work on your beloved iPhone. Well, any device running iOS.

Screenshot 1: iDOS 2 when my iPad is held in portrait orientation

Screenshot 2: iDOS 2 when my iPad is held in landscape orientation
The problem here is no matter what opacity setting you choose for the virtual keyboard,
you can hardly make out the game's cockpit graphics because of the way the virtual
keyboard is overlaid on top of the game.

Wednesday, September 28, 2016

Make a Play Once Only question in a Moodle quiz with Justin Hunt's PoodLL Repositories plugin

Image credit: Username Coffee.
https://pixabay.com/en/microphone-stage-sound-1222302/
I am using Moodle 2.7.2 for one of my quizzes. I also use Justin Hunt's excellent PoodLL repositories to make "Play (Listen) Once Only" recordings that I include inside my Moodle quiz.  

The repository has a play-once audio player that looks like this: 

If you ever wanted to make listening-type Moodle quiz questions, then read on!

Friday, September 16, 2016

Easily enroll multiple students on WordPress into your purchased Moodle course with the Edwiser Bridge-Bulk Purchase extension

Bulk Purchase. Credit: Alexas_Photos.
Source: http://goo.gl/0T7ajs
Welcome to my fifth and last post in a series of five posts featuring the Edwiser Bridge and its four extensions. Today I will focus on the Edwiser Bulk Purchase Extension, which is a commercial plugin. The best thing about this plugin is that you can now let your administrator or manager purchase more than one quantity of a Moodle course in a single transaction. If that's not good enough, the extension allows the Instructor or Manager to enroll himself and others to the purchased course!
Screen 1. The Edwiser Bulk
Purchase Extension icon.

So, in short, this extension allows instructors, parents, managers or corporate trainers to purchase a Moodle course on behalf of others, and then enroll them. This extension will save you effort and time. Please note this extension requires the WooCommerce Integration extension to be installed first.

Section 1. Overview

Screen 2. The Big Picture.
Where the Bulk Purchase Extension fits in the E-Commerce system.

How useful is this extension? VERY! Imagine that you are an Administrator who is given the responsibility of purchasing a Moodle course online. You have ten (10) students to enroll into the course that costs USD100 per person. Which would you prefer? To pay USD100 once for every student that you enroll - which means you have to repeat the online payment and enrollment process TEN times? Or to pay USD100 x 10 = USD1,000 once, and enter all ten students' account data, and then have all TEN students' Moodle account created automatically?

Obviously the latter as it saves you time and effort. With Edwiser's Bulk Purchase Extension, you can make a bulk online payment for a course for multiple students. and have those students login into Moodle and start off the course. With the extension this is an almost painless process and a breeze to use.


Tuesday, September 6, 2016

Integrate WooCommerce with Edwiser Bridge to sell your Moodle courses online by using the Edwiser WooCommerce Integration extension

To get POWER, you have to
CONNECT ALL the parts!
So you've got your Moodle site integrated with WordPress using the Edwiser Bridge, and the Edwiser Single Sign On and Selective Synchronization extensions. What's next? How about integrating with WooCommerce?

Edwiser WooCommerce Integration
extension logo

Section I: Overview

The WooCommerce Moodle Integration allows you to sell courses, synchronised by Edwiser Bridge, using WooCommerce. This will leverage on WooCommerce's strengths of e-Commerce functionality and it will allow you to sell multiple courses as bundled products without the need of an additional extension.

This post is Part 4 in the series of Edwiser Bridge and its extensions. Here is the Big Picture that shows where this extension fits in:


Section II: Pre-requisites

This post assume that you have already successfully purchased, installed the WooCommerce Integration extension and activated its license key.

Screen 1. License key information.


Tuesday, August 23, 2016

Edwiser Selective Synchronization extension to selectively synchronize Moodle courses with WordPress

Checklist by Jurgen Appelo.
Licensing: Creative Commons,
Attribution 2.0 Generic (CC BY 2.0)
Source: http://goo.gl/2M0yB7
Welcome the my third post in a series of five posts featuring the Edwiser Bridge and its four extensions. Today I will focus on the Edwiser Selective Synchronization Extension, which is a commercial plugin.
Image 1. SS extension icon.

This plugin works in tandem with the other extensions to achieve a Moodle-WordPress synergy.

Section I. Overview


Image 2. The Big Picture. Where
the Selective Course Synchronizatin extension fits in.

Why is this plugin useful? Imagine a Moodle site with hundreds of courses. With the Edwiser Bridge alone, you would import ALL courses into WordPress. That could be a lot of courses being synchronised, leaving you with no choice but to let the Bridge do everything for you.  You might then end up having to delete the WordPress courses which you don't need. Wouldn't it be far more convenient to be able to choose the courses to be synchronised? You can with this plugin by Edwiser.

Wednesday, August 17, 2016

Edwiser Single Sign On (SSO) extension to access Moodle and WordPress

Two Doors by Stefan W.
Licensing: Creative Commons,
Attribution 2.0 Generic (CC BY 2.0)
http://goo.gl/sVgWXa
This is the second post in a series of five posts featuring the Edwiser Bridge and its four extensions. To re-cap, these WordPress plugins allow you to integrate Moodle with WordPress. In today's post I will focus on the Edwiser Single Sign On Extension which is a commercial plugin.

Image 1. The SSO extension icon.

This extension is an integral component in an e-Commerce system that comprises of Moodle, WordPress and WooCommerce. It works in tandem with the other compnents to create synergy in your system.


Section I. Overview

Image 2. The Big Picture. Where 
the SSO extension fits in.

What is the Single Sign On?
Single sign-on (SSO) is a session and user authentication service that allows a user to use a set of login details - name and password - to access two or more applications, in this case, WordPress and Moodle.

The Single Sign On extension allows you to enter your login credentials once in Wordpress, and to be logged into both WordPress and Moodle at the same time. So with this Edwiser extension, you will be able to, from within WordPress, launch directly into a Moodle site without having to go through the Moodle login page. This extension, used in tandem with Edwiser Bridge and the other three extensions, produce operational synergy for your website.

How to sell your Moodle course with Edwiser, Moodle and WordPress

Source: Alexa_Fotos; Pixabay https://goo.gl/jyiz8N
Some time ago, I wanted to know how I could sell a Moodle course online with a local Malaysian payment gateway. After doing some research online, I discovered that I could do this by using the free Edwiser Bridge and its four commercial extensions (plugins) from Edwiser. Throw in a payment gateway like the iPay88 plugin for WooCommerce, and the world's your oyster.

What is Edwiser Bridge?
Edwiser Bridge is a plugin by Edwiser that integrates Moodle Learning Management System with WordPress. It allows you to import and sell Moodle courses using WordPress. Software requirements of the lugin: WordPress 4.0 or higher.  Compatible up to WordPress 4.5.3.

Today's post is the first in a series of five posts where I will illustrate how I used the Edwiser Bridge plugins and its extensions to create an E-Commerce WordPress website to sell Moodle courses.

Most of the information provided by me on the Edwiser Bridge installation can be obtained from Edwiser's website, specifically the company's Documentation Page. What is different in my blog are detailed screenshots of the installation and test process, and some explanation in my own words.


Learning Outcome
At the end of this post, you will know how to import and synchronise your Moodle courses with WordPress by using the free Edwiser Bridge plugin.

Saturday, February 6, 2016

Book Review: Tornado Down



Hi All

And now for something entirely different. A book review of the 1993 best-seller on Desert Storm. Tornado Down by John Peters and John Nichol.



I just finished the book. Here is my honest review.

The first page of the Book starts out literally with a bang. 280 pages later, it ends with a profound statement about what a hero and bravery is.

The book is well written and is easy to read. You feel as though both authors are speaking to you. Such is the power of reading a book! The authors' descriptive writing makes their whole experience come alive.  All five senses will be engaged. You feel the excitement as the airmen prepare for imminent war. You feel the aircrew's fear of failure when the Tornados refuel in-flight, in pitch darkness. You feel the scorching heat of the desert. You feel the adrenaline rush as the desert floor whizzes past the Tornado that is flying at 500knots, 50 feet above the ground. You taste the fear in the aircrew when they see Triple-AAA greet them as they fly towards and over the Iraqi airfield. You feel the shudder of the aircraft as the SAM hits it. You smell the prison surroundings and feel the dampness of the floors of their eventual prison cells. You winch as the authors describe the brutal blows and torture landed upon them, time and time again. You sniff a tear as you read about their emotional reunions. Such is the power of the descriptive writing style of the authors.

Friday, November 27, 2015

View PDF files in a ShadowBox pop-up window in the Essential Theme on your Moodle 3.0 site (works on all other themes as well!)

Source: Jens Peter Olesen,
Pixabay, CC0 Public Domain
Design. It's all about design. Today's post is  a sequel to my earlier post on the same subject. In that post, I enabled my PDF and ODF files to open in a Lightbox-like window, when clicked upon, in three themes: Evolve-D, Academi and BCU. I had used FancyBox and ViewerJS to achieve this. I couldn't get Fancybox to work with other themes.

The great news is that I have since discovered that ShadowBox (in place of FancyBox) works on Essential and Moodle 3.2's Boost theme. The installation is much easier, and I managed to optimise the look and feel of ShadowBox by tweaking its original CSS file.

Important Disclaimer and warning:
If you find that your Moodle version and Moodle theme causes your PDF file to load v-e-r-y slowly, or if your Google Chrome displays the "Out of memory" or "Aw snap" message,  then try using the FancyBox method that I blogged here instead.

Learning Outcome
At the end of this post, you will be able to hack your beloved and sacred Moodle site so that PDF files will open as pop-ups. That's all. Nothing earth-shattering. However, I strongly believe that my post today is going to touch lives and make a difference in your Moodle experience (XP). As well as your teachers' and students' Moodle XP. Read on!

Saturday, November 14, 2015

How to install the multi-platform PDF pop-up window on your Moodle 2.9.x/3.0 site.

Pop up! Source: Pixabay,
License: CC0 Public Domain;
See https://goo.gl/lAIF8x


Welcome to my Dummies' Guide for the Complete Dummy!

This guide will show you how to enable your Moodle 2.9 site so that if you click on a PDF file resource, a lighbox-like pop-up window will open. I made mention of this 'innovation' here.

A dumbed-down version of this guide is called the Idiot's Guide. But I haven't gotten down to doing it yet because I'm not a complete idiot. Yet.


I crafted this Guide because I am afraid that three months from now I might forget all the steps. Thus the Dummy is I. This guide is insanely populated with screenshots because it is a step-by-step guide for, like I said, Dummies.

A Dummies' Guide should be simple enough for any 'Dummy' to follow. All you need to do is to follow the steps and in the end you will be rewarded. I will hold your hand all the way through.

Learning Outcomes
At the end of this Guide, you will be able to
  • install the PDF pop-up on your Moodle 2.9.x/3.0 site using one of these themes: evolve-D, BCU and Academi. Disclaimer: if you are using a different theme, I cannot guarantee that it work on your theme. I tried to get it to work on Essential, More and Clean themes. I failed. Maybe you can succeed where I failed.
  • to experience the joy of seeing your students open up PDF files as a pop-up window on Moodle, on every platform and device known to man. After this you can sit back, relax and watch Netflix.
  • to see a PDF, Text and ODF (Writer, Presentation, Calc) file open on multiple platforms in the same and consistent way. Check out the Slideshare presentation below. Drool.

Sunday, October 25, 2015

Open and view a PDF file on a Moodle 2.9 coursepage inside a fully-featured pop-up window using Javascript. All without leaving the Moodle coursepage.

By Sean McEntee. Source: https://goo.gl/5vEpBI
Creative Commons License (Attribution 2.0 Generic (CC BY 2.0))

Hi All

1. Introduction


2. The Solution

I managed to make use of existing Javascript libraries to produce a PDF pop-up on my Moodle site. Here's what happens. I drag-and-drop a PDF file into my Moodle 2.9 coursepage. When I click on a PDF resource link, a fully-functioning pop-up window appears.
I've made it work on and for the following: iPad, PC, Android and Mac. I've tested it on IE, Firefox and Chrome. They all work.

Monday, June 22, 2015

Seamlessly connect Moodle 2.9 to Wordpress with Simon Booth's LTI Connector plugin for Wordpress 4.2.2 and 4.2.3

Image by Adina Voicu of Romania.
Source: https://goo.gl/CNpZNx
License: CC0 Public Domain

Update on 4th August 2015
I've converted this  super-long post into a PDF file. You can also go to the bottom of this post for a Scribd embed version of this post.

How would you like to be able to launch into a Wordpress blog directly from within your Moodle production site? At the end of this post, you will know how to enable a Single Sign-On between your Moodle 2.9 site and your Wordpress multisite in a LAMPP environment. To put it simply, within Moodle itself, you will be able to launch into Wordpress directly using the same Moodle login details. For example, here I am at my Moodle 2.9 test page, before clicking on the External Tool activity:


Tuesday, May 19, 2015

How to view Microsoft Documents on your Moodle site the JQuery way (Part 1)

Microsoft Store. That's a nice logo. Source: http://en.wikipedia.org/wiki/Microsoft

Disclaimer: For Microsoft Office files (Word, Excel, PowerPoint) this only works with  files that are available publicly via a public URL. It won't work for Ms Office documents that are added to a Moodle course as a resource.

Ever since I started using Moodle as a file repository for the teachers and lecturers at my work place, I had always wanted to view Microsoft Word, Excel and PowerPoint files easily on my Moodle site. The easier and faster, the better. You know the story.


Figure 1. Many thanks to Davo Smith and others for
the time-saving drag-and-drop feature of Moodle!


Figure 2. What the file looks, sitting pretty on your Moodle coursepage.


Figure 3. Click on the Ms Word file, and Google
Chrome instantly downloads it. So this means I need to run Microsoft Office to view the file's contents.
Fine and good. Everyone does this. But what if I just wanted to view the file without any fuss?

Figure 4. Using Internet Explorer to access and download the Moodle file resource
invokes a Window prompt like this. Clicking on "Open" gives you...
Figure 5. ..this! You will need at least another two
mouse-clicks before you get to view the file.

So after uploading a Word file to your course page by dragging and dropping, each time you click on the file, depending on which browser you use, the file either gets downloaded instantly or you are prompted to either open the file or download the file. Why can't I just view the file there and then without having to invoke Microsoft Office ?

Ratings and Recommendations by outbrain