x86: add text game sample code