<s>
Pygame	B-Operating_System
is	O
a	O
cross-platform	B-Operating_System
set	O
of	O
Python	B-Language
modules	O
designed	O
for	O
writing	O
video	O
games	O
.	O
</s>
<s>
It	O
includes	O
computer	O
graphics	O
and	O
sound	O
libraries	B-Library
designed	O
to	O
be	O
used	O
with	O
the	O
Python	B-Language
programming	I-Language
language	I-Language
.	O
</s>
<s>
Pygame	B-Operating_System
was	O
originally	O
written	O
by	O
Pete	O
Shinners	O
to	O
replace	O
PySDL	O
after	O
its	O
development	O
stalled	O
.	O
</s>
<s>
It	O
has	O
been	O
a	O
community	O
project	O
since	O
2000	O
and	O
is	O
released	O
under	O
the	O
free	B-Application
software	I-Application
GNU	B-Application
Lesser	I-Application
General	I-Application
Public	I-Application
License	I-Application
(	O
which	O
"	O
provides	O
for	O
Pygame	B-Operating_System
to	O
be	O
distributed	O
with	O
open	B-Application
source	I-Application
and	O
commercial	O
software	O
"	O
)	O
.	O
</s>
<s>
Pygame	B-Operating_System
version	O
2	O
was	O
planned	O
as	O
"	O
Pygame	B-Operating_System
Reloaded	O
"	O
in	O
2009	O
,	O
but	O
development	O
and	O
maintenance	O
of	O
Pygame	B-Operating_System
completely	O
stopped	O
until	O
the	O
end	O
of	O
2016	O
with	O
version	O
1.9.1	O
.	O
</s>
<s>
Pygame	B-Operating_System
2.0	O
released	O
on	O
28	O
October	O
,	O
2020	O
,	O
on	O
Pygame	B-Operating_System
's	O
20th	O
birthday	O
.	O
</s>
<s>
Pygame	B-Operating_System
uses	O
the	O
Simple	B-Operating_System
DirectMedia	I-Operating_System
Layer	I-Operating_System
(	O
SDL	O
)	O
library	O
,	O
with	O
the	O
intention	O
of	O
allowing	O
real-time	B-General_Concept
computer	O
game	O
development	O
without	O
the	O
low-level	B-Language
mechanics	O
of	O
the	O
C	B-Language
programming	I-Language
language	I-Language
and	O
its	O
derivatives	O
.	O
</s>
<s>
This	O
is	O
based	O
on	O
the	O
assumption	O
that	O
the	O
most	O
expensive	B-General_Concept
functions	O
inside	O
games	O
can	O
be	O
abstracted	O
from	O
the	O
game	O
logic	O
,	O
making	O
it	O
possible	O
to	O
use	O
a	O
high-level	B-Language
programming	I-Language
language	I-Language
,	O
such	O
as	O
Python	B-Language
,	O
to	O
structure	O
the	O
game	O
.	O
</s>
<s>
Other	O
features	O
that	O
SDL	O
does	O
have	O
include	O
vector	O
math	O
,	O
collision	O
detection	O
,	O
2D	O
sprite	O
scene	B-Data_Structure
graph	I-Data_Structure
management	O
,	O
MIDI	O
support	O
,	O
camera	O
,	O
pixel-array	O
manipulation	O
,	O
transformations	O
,	O
filtering	O
,	O
advanced	O
freetype	O
font	O
support	O
,	O
and	O
drawing	O
.	O
</s>
<s>
Applications	O
using	O
Pygame	B-Operating_System
can	O
run	O
on	O
Android	O
phones	O
and	O
tablets	O
with	O
the	O
use	O
of	O
Pygame	B-Operating_System
Subset	O
for	O
Android	O
(	O
pgs4a	O
)	O
.	O
</s>
<s>
There	O
is	O
a	O
regular	O
competition	O
,	O
called	O
PyWeek	O
,	O
to	O
write	O
games	O
using	O
Python	B-Language
(	O
and	O
usually	O
but	O
not	O
necessarily	O
,	O
Pygame	B-Operating_System
)	O
.	O
</s>
<s>
The	O
community	O
has	O
created	O
many	O
tutorials	O
for	O
Pygame	B-Operating_System
.	O
</s>
