a simple card game write with lua