Example of simple javascript game using LocDirect to manage strings