require "lua/fclib" local MAX_POINTS_PER_PLAYFIELD = 45 local smokeTest = require("smoketest") local platform = engine.GetOSName() if platform == "iOS" or platform == "Android" then smokeTest.TeleportDelay = 2 else smokeTest.TeleportDelay = 1 end smokeTest.CollectPerformanceMetrics = true smokeTest.SendPerformanceMetrics = true smokeTest.PerformanceSamplingDelay = 2 smokeTest.Playfields = fc_shuffle( smokeTest.Playfields ) smokeTest.PlayfieldPointsFilter = function( playfield_id, points ) if #points > MAX_POINTS_PER_PLAYFIELD then fc_shuffle( points ) new_points = {} for i=1,MAX_POINTS_PER_PLAYFIELD do table.insert( new_points, points[i] ) end points = new_points end return points end smokeTest.Run()