Sample code to test tile game