main(save the fileexit the editorand run the scriptpython bot_ _random py this will print the following average rewardexactlyoutput making new envspaceinvaders- average reward we now have more reliable estimate of the baseline score to beat to create superior agentthoughyou will need to understand the framework for reinforcement learning how can one make the abstract notion of "decision-makingmore concreteunderstanding reinforcement learning in any gamethe player' goal is to maximize their score in this guidethe player' score is referred to as its reward to maximize their rewardthe player must be able to refine its decision-making abilities formallya decision is the process of looking at the gameor observing the game' stateand picking an action our decision-making function is called policya policy accepts state as input and "decideson an action