It is important to warm-up before a game or before a physical activity so that your body can get ready for the physical activity and your muscles/bones loosened up. If you warm-up before doing any sort of physical activity, your risks of getting an injury decrease dramatically.
I hope I was able to help, and if you need any more assistance please let me know so I can help you.