Port gdi04c to New Lua

I see. :+1: then although I did not yet managed to test the winning scenario. ;)