fixed gameState indexing so ordering is preserved