Skip to content

Commit c463515

Browse files
committed
requested changes made
1 parent f4bf1b8 commit c463515

File tree

2 files changed

+28
-35
lines changed

2 files changed

+28
-35
lines changed

guide/intro/chapter-1/index.html

+15-16
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ <h2>Table of contents</h2>
1111
<p></p>
1212
<ol id="toc">
1313
<!--
14-
To be filled by javascript
15-
-->
14+
To be filled by javascript
15+
-->
1616
</ol>
1717

1818
<h2><a id="introduction" class="js">Introduction</a></h2>
1919
<p>
2020
It's time to get started on your pygame journey, but what is pygame? Well
2121
pygame is "a free and open-source cross-platform library for the development
22-
of multimedia applications like video games using Python". As the
22+
of multimedia applications like video games using Python"(<a href="https://github.com/pygame-community/pygame-ce?tab=readme-ov-file">pygame-ce github repository</a>). As the
2323
description suggests, it's mostly used to make video games - which is why in
2424
this book we'll be learning techniques relevant to making games
2525
</p>
2626

2727
<p>
28-
Pygame provides the very basic utility to draw and manipulate pixels on to
28+
Pygame aims to be a user-friendly library to draw and manipulate pixels onto
2929
the screen, much like <a href="https://www.libsdl.org/">SDL2</a>, but with
3030
extended features in various forms that makes it easier to use. Given this
3131
nature, you generally have a lot of control on how you want your code to
@@ -36,7 +36,9 @@ <h2><a id="introduction" class="js">Introduction</a></h2>
3636

3737
<p>
3838
In this book we'll aim to cover how to do basic things with pygame, with
39-
little exercises in between to make sure you're not falling off, goodluck
39+
little exercises in between to make sure you're not falling off
40+
41+
Good Luck!
4042
</p>
4143

4244
<h2><a id="pygame-ce" class="js">Pygame-CE</a></h2>
@@ -46,11 +48,10 @@ <h2><a id="pygame-ce" class="js">Pygame-CE</a></h2>
4648
in this case they branched off to be two completely separate packages now.
4749
</p>
4850
<p>
49-
<a href="https://github.com/pygame-community/pygame-ce">pygame-ce</a> is the
51+
<a href="https://github.com/pygame-community/pygame-ce">pygame-ce</a> is a
5052
fork of the original pygame, which got created due to all the active
51-
developers of the original project being banned by the "owner". Well,
52-
pygame-ce has no "owner", it follows a more democratic approach to managing
53-
itself now.
53+
developers of the original project being banned by the "owner". The fork is not owned
54+
by any one person and follows a more democratic model to its management
5455
</p>
5556
<p>
5657
So what happened to all the active developers of the original pygame? They
@@ -62,19 +63,17 @@ <h2><a id="pygame-ce" class="js">Pygame-CE</a></h2>
6263
<p>
6364
For all sane purposes, we will be using <code>pygame-ce</code> in this book
6465
and we advise the same. It has had more performance improvements, code
65-
features, and active development than the original pygame for a while now. It
66-
is recommended to use only <code>pygame-ce</code> from now onwards by most
67-
Python communities.
66+
features, and active development than the original pygame for a while now.
6867
</p>
6968

7069
<h2><a id="installation" class="js">Installation</a></h2>
7170
<p>
7271
Now that you know what pygame-ce is, let's install it.
7372

74-
{% highlight python %}
75-
pip uninstall pygame
76-
pip install pygame-ce
77-
{% endhighlight %}
73+
<pre>
74+
pip uninstall pygame
75+
pip install pygame-ce
76+
</pre>
7877
In order for pygame-ce to work, pygame needs to be uninstalled first.
7978
This is because both upstream pygame and pygame-ce share the import name,
8079
and so upstream pygame must be removed <u>first</u>.

index.html

+13-19
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h1>Preface</h1>
1717

1818
<h1>Prerequisites</h1>
1919
<p>
20-
So this book is meant for people who already know a bit of Python. Here's
20+
This book is meant for people who already know a bit of Python. Here's
2121
what you need to know:
2222
</p>
2323
<ul>
@@ -48,13 +48,13 @@ <h2>New to programming</h2>
4848
</p>
4949
<h3>Text resources:</h3>
5050
<ul>
51-
<li>Automate The Boring Stuff</li>
52-
<li>A Byte of Python</li>
51+
<li><a href="https://automatetheboringstuff.com/">Automate The Boring Stuff</a></li>
52+
<li><a href="https://python.swaroopch.com/">A Byte of Python</a></li>
5353
</ul>
5454
<h3>Video resources:</h3>
5555
<ul>
56-
<li>Corey Schafer's Python basics series</li>
57-
<li>Introduction to Python by Mike Dane</li>
56+
<li><a href="https://youtube.com/playlist?list=PL-osiE80TeTskrapNbzXhwoFUiLCjGgY7&si=YMxJnLnpgRPVd6A-">Corey Schafer's Python basics series</a></li>
57+
<li><a href="https://youtu.be/rfscVS0vtbw">Introduction to Python by Mike Dane</a></li>
5858
</ul>
5959

6060
<h2>Familiar with programming</h2>
@@ -76,32 +76,26 @@ <h2>Learning Pygame</h2>
7676
<a href="/guide/intro/chapter-2/">Chapter 02: Opening A Window</a>
7777
</li>
7878
<li>
79-
<a href="/guide/intro/chapter-3/"
80-
>Chapter 03: Surfaces And Positional Datatypes</a
81-
>
79+
<a href="/guide/intro/chapter-3/">Chapter 03: Surfaces And Positional Datatypes</a>
8280
</li>
8381
<li>
8482
<a href="/guide/intro/chapter-4/">Chapter 04: Implementing An Entity</a>
8583
</li>
8684
<li>
87-
<a href="/guide/intro/chapter-5/"
88-
>Chapter 05: Implementing A Collection For Entities</a
89-
>
85+
<a href="/guide/intro/chapter-5/">Chapter 05: Implementing A Collection For Entities</a>
9086
</li>
9187
<li>
92-
<a href="/guide/intro/chapter-6/">Chapter 06: Loading assets</a>
88+
<a href="/guide/intro/chapter-6/">Chapter 06: Loading Assets</a>
9389
</li>
9490

9591
<li>
9692
<a href="/guide/intro/chapter-7/">Chapter 07: Animation</a>
9793
</li>
9894
<li>
99-
<a href="/guide/intro/chapter-8/"
100-
>Chapter 08: The <code>pygame.draw</code> API</a
101-
>
95+
<a href="/guide/intro/chapter-8/">Chapter 08: The <code>pygame.draw</code> API</a>
10296
</li>
10397
<li>
104-
<a href="/guide/intro/chapter-9/">Chapter 09: Rects and collisions</a>
98+
<a href="/guide/intro/chapter-9/">Chapter 09: Rects And Collisions</a>
10599
</li>
106100

107101
<li>
@@ -121,13 +115,13 @@ <h2>Learning Pygame</h2>
121115

122116
<h2>Technical Concepts</h2>
123117
<ul>
124-
<li>Blend modes</li>
118+
<li>Blend Modes</li>
125119
<li>Colors</li>
126120
<li>Fonts</li>
127-
<li><code>display.set_mode</code> flags</li>
121+
<li><code>display.set_mode</code> Flags</li>
128122
<li><code>sprite</code> API</li>
129123
<li>Audio API</li>
130-
<li>Framerate management</li>
124+
<li>Framerate Management</li>
131125
</ul>
132126

133127
<h2>Useful Game Mechanics</h2>

0 commit comments

Comments
 (0)