|
| 1 | +- |
| 2 | + |
1 | 3 | # 🧙♂️ RPG Orientado a Objetos (POO) |
2 | 4 |
|
3 | 5 | ## 📘 Sobre o Projeto |
@@ -25,21 +27,66 @@ O jogo permite criar personagens, enfrentar inimigos, realizar missões e salvar |
25 | 27 |
|
26 | 28 | --- |
27 | 29 |
|
28 | | -## 💻 Como Rodar o Projeto |
| 30 | +## 💻 Como Rodar o Projeto (Código-fonte) |
| 31 | + |
| 32 | +Caso você esteja utilizando a versão em **Python** (não o executável): |
29 | 33 |
|
30 | 34 | 1. Certifique-se de ter **Python 3.10 ou superior** instalado. |
31 | 35 | 2. Clone o repositório: |
32 | | - <pre class="overflow-visible!" data-start="1078" data-end="1126"><div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"></div></div></div><div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-bash"><span><span>git </span><span>clone</span><span> <URL_DO_REPOSITORIO> |
| 36 | + <pre class="overflow-visible!" data-start="522" data-end="570"><div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"></div></div></div><div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-bash"><span><span>git </span><span>clone</span><span> <URL_DO_REPOSITORIO> |
33 | 37 | </span></span></code></div></div></pre> |
34 | 38 | 3. Acesse o diretório do projeto: |
35 | | - <pre class="overflow-visible!" data-start="1165" data-end="1193"><div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"></div></div></div><div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-bash"><span><span>cd</span><span> rpg-textual |
| 39 | + <pre class="overflow-visible!" data-start="608" data-end="636"><div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"></div></div></div><div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-bash"><span><span>cd</span><span> rpg-textual |
36 | 40 | </span></span></code></div></div></pre> |
37 | 41 | 4. Execute o jogo: |
38 | | - <pre class="overflow-visible!" data-start="1217" data-end="1249"><div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"></div></div></div><div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-bash"><span><span>python main.py |
| 42 | + <pre class="overflow-visible!" data-start="659" data-end="691"><div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"></div></div></div><div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-bash"><span><span>python main.py |
39 | 43 | </span></span></code></div></div></pre> |
40 | 44 |
|
41 | 45 | --- |
42 | 46 |
|
| 47 | +## 💾 Como Rodar o Jogo (Executáveis da Release) |
| 48 | + |
| 49 | +Escolha o arquivo conforme o seu sistema operacional: |
| 50 | + |
| 51 | +### 🪟 **Windows** |
| 52 | + |
| 53 | +Baixe o arquivo: |
| 54 | + |
| 55 | +* **rpg-v1.0.0-windows.exe** |
| 56 | + |
| 57 | +E execute com um clique — **não é necessário ter Python instalado** . |
| 58 | + |
| 59 | +--- |
| 60 | + |
| 61 | +### 🐧 **Linux** |
| 62 | + |
| 63 | +Baixe o arquivo: |
| 64 | + |
| 65 | +* **rpg-v1.0.0-linux** |
| 66 | + |
| 67 | +Dê permissão de execução (apenas na primeira vez): |
| 68 | + |
| 69 | +<pre class="overflow-visible!" data-start="1113" data-end="1150"><div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"></div></div></div><div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-bash"><span><span>chmod</span><span> +x rpg-v1.0.0-linux |
| 70 | +</span></span></code></div></div></pre> |
| 71 | + |
| 72 | +Depois execute normalmente: |
| 73 | + |
| 74 | +<pre class="overflow-visible!" data-start="1181" data-end="1211"><div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="sticky top-9"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"></div></div></div><div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-bash"><span><span>./rpg-v1.0.0-linux |
| 75 | +</span></span></code></div></div></pre> |
| 76 | + |
| 77 | +--- |
| 78 | + |
| 79 | +### 🧩 Código-fonte (para desenvolvedores) |
| 80 | + |
| 81 | +Na seção *Assets* você também encontrará: |
| 82 | + |
| 83 | +* **Source code (zip)** |
| 84 | +* **Source code (tar.gz)** |
| 85 | + |
| 86 | +Essas versões contêm o código completo e exigem Python para executar. |
| 87 | + |
| 88 | +--- |
| 89 | + |
43 | 90 | ## 🧩 Funcionalidades |
44 | 91 |
|
45 | 92 | - **Criação de Personagem** : classes, atributos e escolha inicial. |
@@ -99,7 +146,7 @@ O jogo permite criar personagens, enfrentar inimigos, realizar missões e salvar |
99 | 146 |
|
100 | 147 | **[@Maria Eduarda](https://github.com/mariaeduarda63)** — Desenvolvimento de Missões |
101 | 148 |
|
102 | | -**[@Nicolas Rosa](https://github.com/nicolas021007)** — Desenvolvimento de Inimigos |
| 149 | +**[@Nicolas](https://github.com/nicolas021007)** — Desenvolvimento de Inimigos |
103 | 150 |
|
104 | 151 | **[@Rian Alves](https://github.com/RianAlvesTi)** — Desenvolvimento de Missões |
105 | 152 |
|
|
0 commit comments