The Ludi Apollinares were solemn games (ludi) held annually by the ancient Romans in honor of the god Apollo. The tradition goes that at the first celebration hereof, they were suddenly invaded by the enemy, and obliged to take to their arms. A cloud of darts and arrows fell upon their enemies, and the Romans soon returned victorious to their sports.
First Ludi 
The games were established after inspecting a collection of prophecies, the Carmina Marciana. One of several seers (vates) responsible for these predictions was Marcius. The games were organized in accordance with the Oracles of Marcius, which had predicted the disaster at Cannae (the defeat of the Romans by Hannibal) 
The prophecies dictated that the Romans should use Greek ritual to honor Diana and Latona, and that they should help contribute to the costs of the games, according to their means. The Sibylline Books were also consulted and confirmed this prophecy. This occurred at the height of the Second Punic War, when Hannibal was invading northern Italy. As in other times, the games were used to allay the public’s fears and distract them from Hannibal’s invasion.
The games were held in the Circus Maximus, with equestrian games as well as stage performances, including praetextae, a category of Roman drama. Ennius (239-169 BC) had Thyestes performed as part of this festival in 169BC., The ludi Apollinares received less funding from the Roman government than other games/festivals such as the ludi Romani or ludi plebeii, because it was shorter and had only one day of races.
The Ludi Apollinares were games which were first organized in 212 BC, when C. Sulla was Praetor. Initially a vow was made to hold them only once. There is some discussion as to who officially made them annual games.
One version of events proposes that L. Varus, the praetor urbanus at the time, renewed this vow and celebrated them again in 210 BC. They were made an annual festival by a law in 208 BC by L. Varus, who was then curule aedile. A severe plague in 208 BC may have prompted the Senate to make them permanent, in honor of Apollo, who they regarded as a god of healing. From this day on, they were celebrated on July 13 and eventually grew to last 8 or 9 days.,
However, Livy suggests that it was C. Calpurnius Piso, not L. Varus, who made the games permanent as praetor in 211 BC. “The Games of Apollo had been exhibited the previous year, and when the question of their repetition the next year was moved by the praetor Calpurnius, the senate passed a decree that they should be observed for all time.”  He continues, “…Such is the origin of the Apollinarian Games, which were instituted for the cause of victory and not, as is generally thought, in the interests of the public health.” 
- This article incorporates text from a publication now in the public domain: Chambers, Ephraim, ed. (1728). "article name needed". Cyclopaedia, or an Universal Dictionary of Arts and Sciences (first ed.). James and John Knapton, et al.
- “Ludi” Brill’s New Pauly: Encyclopaedia of the ancient world. 2005 ed.
- “Marcius” Brill’s New Pauly: Encyclopaedia of the ancient world. 2005 ed.
- Livy – Periochae, book 25, line 3. Obtained online at http://www.livius.org/li-ln/livy/periochae/periochae023.html#25
- Livy (25.12)
- Cook, 2002. The Calpurnii and Roman Family History: An Analysis of the Piso Frugi Coin in the Joel Handshu Collection at the College of Charleston. Chrestomathy: Annual Review of Undergraduate Research at the College of Charleston. Volume 1, 2002: pp. 1-10
- Flower, 1995. Fabulae Praetextae in Context: When Were Plays on Contemporary Subjects Performed in Republican Rome? The Classical Quarterly, New Series, Vol. 45, No. 1. (1995), pp. 170-190.
- Coulter, 1940. Marcus Junius Brutus and the "Brutus" of Accius. The Classical Journal, Vol. 35, No. 8. (May, 1940), pp. 460-470.
- Green, 1930. Appropriations for the Games at Rome in 51 A. D. The American Journal of Philology, Vol. 51, No. 3. (1930), pp. 249-250.
- “Cornelii Sullae” Brill’s New Pauly: Encyclopaedia of the ancient world. 2005 ed.
- “Licinius” Brill’s New Pauly: Encyclopaedia of the ancient world. 2005 ed.
- H.H. Scullard, Festivals and Ceremonies of the Roman Republic (Cornell University Press, 1981), p. 159.
- Livy 26.23.3 Translated by Rev. Canon Roberts, Ed. Ernest Rhys, Publisher: J. M. Dent & Sons, Ltd., London, 1905 Obtained online at http://mcadams.posc.mu.edu/txt/ah/Livy/Livy26.html