support for code views and test cases (using the 'testcase' code view)
Roy's game changes