Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
c2714b5
Update pt_BR curriculum.po
Gabriel-Araujo12 Oct 9, 2021
c0ce242
Update index.po
Pedro-Henriquebg7 Oct 11, 2021
0ac169d
Update index.po
Pedro-Henriquebg7 Oct 11, 2021
ef51958
Update index.po-introduction
Pedro-Henriquebg7 Oct 12, 2021
39b3e9e
Update index.po-testimonials
Pedro-Henriquebg7 Oct 12, 2021
379c373
Update index.po-Features
Pedro-Henriquebg7 Oct 12, 2021
6f24a78
Update pt_BR development.po
Gabriel-Araujo12 Oct 12, 2021
99ca5a6
Update index.po-Quickstart
Pedro-Henriquebg7 Oct 12, 2021
8cb1d09
Update index.po-Free Games
Pedro-Henriquebg7 Oct 12, 2021
4cd9b92
Update pt_BR api.po
Gabriel-Araujo12 Oct 12, 2021
2f0215a
Update index.po Paint
Pedro-Henriquebg7 Oct 12, 2021
8a851d2
Update index.po-Snake
Pedro-Henriquebg7 Oct 12, 2021
dc79f60
Update index.po-Pacman
Pedro-Henriquebg7 Oct 12, 2021
1ce5b18
Update index.po-Cannon
Pedro-Henriquebg7 Oct 12, 2021
1032017
Update index.po-Connect 4
Pedro-Henriquebg7 Oct 12, 2021
d7d1122
Update index.po-Flappy
Pedro-Henriquebg7 Oct 12, 2021
9399224
Update index.po-Memory
Pedro-Henriquebg7 Oct 12, 2021
69b859a
Update index.po-Pong
Pedro-Henriquebg7 Oct 12, 2021
181a928
Update index.po-Simon Says
Pedro-Henriquebg7 Oct 12, 2021
4b5f1ff
Update index.po-Tic Tac Toe
Pedro-Henriquebg7 Oct 12, 2021
564089a
Update index.po-Tiles
Pedro-Henriquebg7 Oct 12, 2021
7aa7bd9
Update index.po-Tron
Pedro-Henriquebg7 Oct 12, 2021
811adbb
Update index.po-Life
Pedro-Henriquebg7 Oct 12, 2021
3fc21d6
Update index.po-Maze
Pedro-Henriquebg7 Oct 12, 2021
7efe423
Update index.po-Fidget
Pedro-Henriquebg7 Oct 12, 2021
459f792
Update index.po-User Guide
Pedro-Henriquebg7 Oct 12, 2021
1f71dcc
Update index.po-References
Pedro-Henriquebg7 Oct 12, 2021
83b7d9f
Update index.po-Baseboard
Pedro-Henriquebg7 Oct 12, 2021
c83d954
Update sphinx.po
Pedro-Henriquebg7 Oct 13, 2021
a734249
Update po files
adorilson Oct 13, 2021
487b2ac
Merge remote-tracking branch 'gabriel/l10n' into ifpg
adorilson Oct 13, 2021
36bf69f
Merge remote-tracking branch 'pedro/l10n' into ifpg
adorilson Oct 13, 2021
b8dd4f1
Added docs/snake_oop.rst (was missing in previous commit)
adorilson Oct 13, 2021
1155d02
Merge branch 'snake_oo' of github.com:IFRN/free-python-games into ifpg
adorilson Oct 13, 2021
9bcbf8a
PR do snake_oop (#3)
BrenoNAlmeida Feb 23, 2021
9a21e72
Update last exercise
grantjenks May 18, 2021
cf3c9d1
#55 - added initial mad libs game and initial test. (#65)
drocpdp Jun 1, 2021
f76975d
Update madlibs game
grantjenks Jun 1, 2021
2cbacfa
Add GitHub workflow action for integration
grantjenks Jun 15, 2021
355c2e7
Update readme
grantjenks Jun 15, 2021
318e37d
Delete travis/appveyor, update requirements and tox
grantjenks Jun 15, 2021
1741a28
First pass with blue
grantjenks Jun 15, 2021
9d51ffe
More blue fixes
grantjenks Jun 15, 2021
543d675
Fixes for docs
grantjenks Jun 15, 2021
dd5e621
isort fixes
grantjenks Jun 15, 2021
ff2d9f3
Add tests for minesweeper
grantjenks Jun 15, 2021
dffc986
Simplify ant game
grantjenks Jun 15, 2021
b001400
Simplify crypto branching
grantjenks Jun 15, 2021
60cbce2
Collections abc deprecation warning
grantjenks Jun 15, 2021
422fe9e
Test colors
grantjenks Jun 15, 2021
4ea8f37
Test back-and-forth
grantjenks Jun 15, 2021
a57e992
Add test for going in a circle
grantjenks Jun 15, 2021
5db91c3
Go back-and-forth
grantjenks Jun 15, 2021
0aad683
Remove flake8 and simplify switches
grantjenks Jun 15, 2021
a3b91ad
Remove flake8 and test on Windows and MacOS
grantjenks Jun 15, 2021
ffe6c88
Update project urls and classifiers
grantjenks Jun 15, 2021
23b8eed
Windows %$#@!
grantjenks Jun 15, 2021
0a3b4a1
Update copyright to 2021
grantjenks Jun 15, 2021
31197f0
Add replit file for support
grantjenks Jun 15, 2021
a7a3604
Remove replit, don't want to grant GitHub access
grantjenks Jun 15, 2021
2f4358b
Align isort and blue line lengths
grantjenks Jun 15, 2021
dcb2e3b
Update documentation about Pacman OO version
adorilson Oct 13, 2021
f4a1329
addition of pacman_oop.py
Feb 27, 2021
1c21ca5
part two refactoring in pacman_oop.py
Mar 11, 2021
2eacab7
part three refactoring in pacman_oop.py
Mar 14, 2021
a797254
correction of move function
Mar 15, 2021
8ccadc3
addition of the compass-oriented system
Mar 16, 2021
765da6c
correction of the compass-oriented system
Mar 17, 2021
c901faa
addition of object-oriented activities and relolution
Mar 24, 2021
523849c
change from 'Master to 'Actor' and add foor atribute
Mar 31, 2021
da65165
change in the game point counting method
Mar 31, 2021
db845ff
change in the method of analysis and verification of the state of the…
Mar 31, 2021
927e092
actor and pacman class adjustments
Apr 3, 2021
eec3179
adjustment in the eat method
Apr 6, 2021
08a49fd
adjustment in the food show and slow method
Apr 11, 2021
d26a6b1
oriented object pacman final version
Apr 13, 2021
8cb18af
First pass with blue
grantjenks Jun 15, 2021
978175c
Update documentation about Pacman OO version
adorilson Oct 13, 2021
3905e29
Merge branch 'pacman-oop' of github.com:IFRN/free-python-games into ifpg
adorilson Oct 13, 2021
7470caf
Fix README about Pacman
adorilson Oct 13, 2021
1aa9da4
Merge branch 'pacman-oop' of github.com:IFRN/free-python-games into p…
adorilson Oct 13, 2021
78c05d4
Fix README about Snake
adorilson Oct 13, 2021
26bd60e
Merge branch 'pacman-oop' of github.com:IFRN/free-python-games into ifpg
adorilson Oct 13, 2021
d1ce71b
Merge branch 'snake_oo' of github.com:IFRN/free-python-games into ifpg
adorilson Oct 13, 2021
240258e
Update sphinx.po
Pedro-Henriquebg7 Oct 21, 2021
df9c460
Merge branch 'l10n' of https://github.com/Pedro-Henriquebg7/free-pyth…
adorilson Oct 21, 2021
5145804
Add .venv to .gitignore
adorilson Oct 20, 2022
628076b
Moving score attribute to GamePacman again
adorilson Oct 20, 2022
4f4090a
Erase self.score Pacman attribute
adorilson Oct 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# virutalenv directories
/env*/
.venv

# coverage files
.coverage
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,19 @@ Snake

`Snake`_ -- classic arcade game. Use the arrow keys to navigate and eat the
green food. Each time the food is consumed, the snake grows one segment
longer. Avoid eating yourself or going out of bounds! (`OO version`_)
longer. Avoid eating yourself or going out of bounds! (`OO version <snake_oop.html>`_)

.. image:: http://www.grantjenks.com/docs/freegames/_static/snake.gif
:alt: Snake Free Python Game

.. _`Snake`: http://www.grantjenks.com/docs/freegames/snake.html
.. _`OO version`: snake_oop.html

Pacman
......

`Pacman`_ -- classic arcade game. Use the arrow keys to navigate and eat all
the white food. Watch out for red ghosts that roam the maze.
(`OO version <pacman_oop.html>`_)

.. image:: http://www.grantjenks.com/docs/freegames/_static/pacman.gif
:alt: Pacman Free Python Game
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@
connect
memory
pacman
pacman_oop
fidget
madlibs
80 changes: 46 additions & 34 deletions docs/locale/pt_BR/LC_MESSAGES/api.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,118 +4,130 @@
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Free Python Games 2.3.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-24 21:25-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"PO-Revision-Date: 2021-10-11 19:47-0300\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: pt_BR\n"
"X-Generator: Poedit 3.0\n"

#: ../../api.rst:2
msgid "Free Python Games API Reference"
msgstr ""
msgstr "Referência da API do Free Python Games"

#: ../../api.rst:4
msgid ""
":doc:`Free Python Games <index>` includes a few helpful utilities. The "
"best way to expose beginners to these functions is with Python's built-in"
" help function. Learners should be able to understand and write the "
"drawing functions themselves."
":doc:`Free Python Games <index>` includes a few helpful utilities. The best "
"way to expose beginners to these functions is with Python's built-in help "
"function. Learners should be able to understand and write the drawing "
"functions themselves."
msgstr ""
":doc:`Free Python Games <index>` inclui alguns utilitários úteis. A melhor "
"maneira de expor os iniciantes a essas funções é com a função de ajuda "
"integrada do Python. Os alunos devem ser capazes de compreender e escrever as "
"funções de desenho por si mesmos."

#: ../../api.rst:13
msgid "Drawing Functions"
msgstr ""
msgstr "Funções de Desenho"

#: freegames.utils.line:1 of
msgid "Draw line from `(a, b)` to `(x, y)`."
msgstr ""
msgstr "Desenhe uma linha de (a, b) a (x, y)."

#: freegames.utils.square:1 of
msgid "Draw square at `(x, y)` with side length `size` and fill color `name`."
msgstr ""
"Desenhe um quadrado em (x, y) com o `tamanho` do comprimento lateral e "
"preencha o `nome` da cor."

#: freegames.utils.square:3 of
msgid "The square is oriented so the bottom left corner is at (x, y)."
msgstr ""
"O quadrado é orientado de forma que o canto esquerdo inferior esteja em (x, y)."

#: ../../api.rst:20
msgid "Helper Functions"
msgstr ""
msgstr "Funções de ajuda"

#: freegames.utils.floor:1 of
msgid "Floor of `value` given `size` and `offset`."
msgstr ""
msgstr "Piso de `valor` dado `tamanho` e `deslocamento`."

#: freegames.utils.floor:3 of
msgid "The floor function is best understood with a diagram of the number line::"
msgstr ""
msgstr "A função do piso é melhor compreendida com um diagrama da reta numérica:"

#: freegames.utils.floor:8 of
msgid ""
"The number line shown has offset 200 denoted by the left-hand tick mark "
"at -200 and size 100 denoted by the tick marks at -100, 0, 100, and 200. "
"The floor of a value is the left-hand tick mark of the range where it "
"lies. So for the points show above: ``floor(x)`` is -200, ``floor(y)`` is"
" 0, and ``floor(z)`` is 100."
msgstr ""
"The number line shown has offset 200 denoted by the left-hand tick mark at "
"-200 and size 100 denoted by the tick marks at -100, 0, 100, and 200. The "
"floor of a value is the left-hand tick mark of the range where it lies. So for "
"the points show above: ``floor(x)`` is -200, ``floor(y)`` is 0, and "
"``floor(z)`` is 100."
msgstr ""
"A linha de número mostrada tem deslocamento 200 denotado pela marca de escala "
"à esquerda em -200 e o tamanho 100 indicado pelas marcas de escala em -100, 0, "
"100 e 200. O piso de um valor é a marca de escala à esquerda do intervalo onde "
"se encontra. Portanto, para os pontos mostrados acima: o ``piso(x)`` é -200, o "
"``piso(y)`` é 0 e o ``piso(z)`` é 100."

#: freegames.utils.path:1 of
msgid "Return full path to `filename` in freegames module."
msgstr ""
msgstr "Retorna o caminho completo para o `nome do arquivo` no módulo freegames."

#: ../../api.rst:27
msgid "Vectors"
msgstr ""
msgstr "Vetores"

#: freegames.utils.vector:1 of
msgid "Two-dimensional vector."
msgstr ""
msgstr "Vetor bidimensional."

#: freegames.utils.vector:3 of
msgid "Vectors can be modified in-place."
msgstr ""
msgstr "Os vetores podem ser modificados no local."

#: freegames.utils.vector.__init__:1 of
msgid "Initialize vector with coordinates: x, y."
msgstr ""
msgstr "Inicialize o vetor com as coordenadas: x, y."

#: freegames.utils.vector.__add__:1 of
msgid "v.__add__(w) -> v + w"
msgstr ""
msgstr "v.__add__(w) -> v + w"

#: freegames.utils.vector.__mul__:1 of
msgid "v.__mul__(w) -> v * w"
msgstr ""
msgstr "v.__mul__(w) -> v * w"

#: freegames.utils.vector.copy:1 of
msgid "Return copy of vector."
msgstr ""
msgstr "Retorna a cópia do vetor."

#: freegames.utils.vector.move:1 of
msgid "Move vector by other (in-place)."
msgstr ""
msgstr "Move o vetor por outro (no local)."

#: freegames.utils.vector.rotate:1 of
msgid "Rotate vector counter-clockwise by angle (in-place)."
msgstr ""
msgstr "Gire o vetor no sentido anti-horário pelo ângulo (no local)."

#: freegames.utils.vector.scale:1 of
msgid "Scale vector by other (in-place)."
msgstr ""
msgstr "Escala o vetor por outro (no local)."

#: freegames.vector.x:1 of
msgid "X-axis component of vector."
msgstr ""
msgstr "Componente do eixo X do vetor."

#: freegames.vector.y:1 of
msgid "Y-axis component of vector."
msgstr ""

msgstr "Componente do eixo Y do vetor."
40 changes: 20 additions & 20 deletions docs/locale/pt_BR/LC_MESSAGES/curriculum.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: Free Python Games 2.3.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-24 21:25-0300\n"
"PO-Revision-Date: 2021-10-09 12:12-0300\n"
"PO-Revision-Date: 2021-10-09 20:11-0300\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -105,7 +105,7 @@ msgstr "Jogos"

#: ../../curriculum.rst:32
msgid ":doc:`guess`.py - Guess number within range."
msgstr ""
msgstr ":doc:`guess`.py - Adivinhar um número dentro de um intervalo."

#: ../../curriculum.rst:34
msgid "Explain: from random import randint"
Expand Down Expand Up @@ -149,7 +149,7 @@ msgstr "Discuta o método de adivinhação. Isso é um algoritmo!"

#: ../../curriculum.rst:45
msgid ":doc:`snake`.py - Classic arcade game."
msgstr ""
msgstr ":doc:`snake`.py - Jogo clássico de arcade."

#: ../../curriculum.rst:48 ../../curriculum.rst:97 ../../curriculum.rst:139
#: ../../curriculum.rst:166 ../../curriculum.rst:191
Expand Down Expand Up @@ -210,15 +210,15 @@ msgstr "Módulos: turtle"

#: ../../curriculum.rst:72
msgid ":doc:`crypto`.py - Encrypt, decrypt and decode messages."
msgstr ""
msgstr ":doc:`crypto`.py - Criptografar, descriptografar e decodificar mensagens."

#: ../../curriculum.rst:74
msgid "ord function and chr function"
msgstr "função ord e função chr"

#: ../../curriculum.rst:75
msgid "modulo operator"
msgstr "operador de módulo"
msgstr "módulo operador"

#: ../../curriculum.rst:76
msgid "Write decode function"
Expand All @@ -230,7 +230,7 @@ msgstr "Criptografar números"

#: ../../curriculum.rst:79
msgid ":doc:`paint`.py - Draw shapes."
msgstr ""
msgstr ":doc:`paint`.py - Desenhe formas."

#: ../../curriculum.rst:81
msgid "Draw line"
Expand Down Expand Up @@ -285,7 +285,7 @@ msgstr "Escrever função polígono(lados, comprimento)"

#: ../../curriculum.rst:94
msgid ":doc:`flappy`.py - Flappy Bird inspired game."
msgstr ""
msgstr ":doc:`flappy`.py - Jogo inspirado em Flappy Bird."

#: ../../curriculum.rst:99
msgid "Genesis 6:5-22 - God the Engineer (Noah)"
Expand Down Expand Up @@ -325,7 +325,7 @@ msgstr "Funções: onscreenclick, onkey, ontimer"

#: ../../curriculum.rst:117
msgid ":doc:`bagels`.py - Digit guessing puzzle."
msgstr ""
msgstr ":doc:`bagels`.py - Quebra-cabeça de adivinhação de dígitos."

#: ../../curriculum.rst:118
msgid "Animation"
Expand Down Expand Up @@ -353,7 +353,7 @@ msgstr "hideturtle(); marcador(False); polígono(4, 200); atualização()"

#: ../../curriculum.rst:126
msgid ":doc:`tictactoe`.py - Tic-tac-toe."
msgstr ""
msgstr ":doc:`tictactoe`.py - Jogo da velha."

#: ../../curriculum.rst:128
msgid "line(...)"
Expand Down Expand Up @@ -381,11 +381,11 @@ msgstr "onscreenclick(goto)"

#: ../../curriculum.rst:135
msgid ":doc:`simonsays`.py - Simon Says"
msgstr ""
msgstr ":doc:`simonsays`.py - Simon Says"

#: ../../curriculum.rst:136
msgid ":doc:`cannon`.py - Hitting targets with projectiles."
msgstr ""
msgstr ":doc:`cannon`.py - Atingir alvos com projéteis."

#: ../../curriculum.rst:141
msgid "Mark 1:1-18 - God the Programmer (\"fishers of people\")"
Expand All @@ -397,7 +397,7 @@ msgstr "O que Isaías disse que aconteceria?"

#: ../../curriculum.rst:144
msgid "What did John the Baptist say would happen?"
msgstr "What did John the Baptist say would happen?"
msgstr "O que João Batista disse que aconteceria?"

#: ../../curriculum.rst:145
msgid "What did God say about Jesus? When?"
Expand Down Expand Up @@ -425,23 +425,23 @@ msgstr "Tipos de dados: list, dict, vector"

#: ../../curriculum.rst:159
msgid ":doc:`bounce`.py - Simple animation demo."
msgstr ""
msgstr ":doc:`bounce`.py - Demonstração de animação simples."

#: ../../curriculum.rst:160
msgid ":doc:`pong`.py - Classic arcade game."
msgstr ""
msgstr ":doc:`pong`.py - Jogo clássico de arcade."

#: ../../curriculum.rst:161
msgid ":doc:`ant`.py - Simple animation demo."
msgstr ""
msgstr ":doc:`ant`.py - Demonstração de animação simples."

#: ../../curriculum.rst:162
msgid ":doc:`tron`.py - Classic arcade game."
msgstr ""
msgstr ":doc:`tron`.py - Jogo clássico de arcade."

#: ../../curriculum.rst:163
msgid ":doc:`tiles`.py - Puzzle game of number shuffling."
msgstr ""
msgstr ":doc:`tiles`.py - Jogo de quebra-cabeça de embaralhamento de números."

#: ../../curriculum.rst:168
msgid "John 9:1-33 - God the Debugger (Blind Man and Jesus)"
Expand Down Expand Up @@ -481,15 +481,15 @@ msgstr "Resposta: O que vem a seguir?"

#: ../../curriculum.rst:186
msgid ":doc:`connect`.py - Connect Four"
msgstr ""
msgstr ":doc:`connect`.py - Conecte quatro"

#: ../../curriculum.rst:187
msgid ":doc:`memory`.py - Puzzle game of number pairs."
msgstr ""
msgstr ":doc:`memory`.py - Jogo de quebra-cabeça de pares de números."

#: ../../curriculum.rst:188
msgid ":doc:`pacman`.py - Classic arcade game."
msgstr ""
msgstr ":doc:`pacman`.py - Jogo clássico de arcade."

#: ../../curriculum.rst:193
msgid "Revelation 21 - God the Restorer (New Heaven and New Earth)"
Expand Down
Loading