Skip to content

Commit 13dce29

Browse files
authored
Merge branch 'mouredev:main' into main
2 parents d53acb4 + c51ef39 commit 13dce29

File tree

587 files changed

+71210
-2640
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

587 files changed

+71210
-2640
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
2828
## Corrección y próximo ejercicio
2929

30-
> #### Lunes 12 de agosto de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31-
> #### Consulta el **[horario](https://discord.gg/ZZ98qNuV?event=1267573202209472594)** por país y crea un **[recordatorio](https://discord.gg/ZZ98qNuV?event=1267573202209472594)**
30+
> #### Lunes 2 de septiembre de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31+
> #### Consulta el **[horario](https://discord.gg/tKNfr5p8?event=1275291456201953441)** por país y crea un **[recordatorio](https://discord.gg/tKNfr5p8?event=1275291456201953441)**
3232
3333
## Roadmap
3434

@@ -65,21 +65,21 @@
6565
|28|[SOLID: PRINCIPIO DE SUSTITUCIÓN DE LISKOV](./Roadmap/28%20-%20SOLID%20LSP/ejercicio.md)|[📝](./Roadmap/28%20-%20SOLID%20LSP/python/mouredev.py)|[▶️](https://youtu.be/SgHoiF1KLTo)|[👥](./Roadmap/28%20-%20SOLID%20LSP/)
6666
|29|[SOLID: PRINCIPIO DE SEGREGACIÓN DE INTERFACES](./Roadmap/29%20-%20SOLID%20ISP/ejercicio.md)|[📝](./Roadmap/29%20-%20SOLID%20ISP/python/mouredev.py)|[▶️](https://youtu.be/0zTmCTHJ_lg)|[👥](./Roadmap/29%20-%20SOLID%20ISP/)
6767
|30|[SOLID: PRINCIPIO DE INVERSIÓN DE DEPENDENCIAS](./Roadmap/30%20-%20SOLID%20DIP/ejercicio.md)|[📝](./Roadmap/30%20-%20SOLID%20DIP/python/mouredev.py)|[▶️](https://youtu.be/wxIj6Rs8rAU)|[👥](./Roadmap/30%20-%20SOLID%20DIP/)
68-
|31|[SIMULADOR JUEGOS OLÍMPICOS](./Roadmap/31%20-%20SIMULADOR%20JUEGOS%20OLÍMPICOS/ejercicio.md)|[📝](./Roadmap/31%20-%20SIMULADOR%20JUEGOS%20OLÍMPICOS/python/mouredev.py)||[👥](./Roadmap/31%20-%20SIMULADOR%20JUEGOS%20OLÍMPICOS/)
69-
|32|[BATALLA DEADPOOL Y WOLVERINE](./Roadmap/32%20-%20BATALLA%20DEADPOOL%20Y%20WOLVERINE/ejercicio.md)|[🗓️ 12/08/24](https://discord.gg/ZZ98qNuV?event=1267573202209472594)||[👥](./Roadmap/32%20-%20BATALLA%20DEADPOOL%20Y%20WOLVERINE/)
68+
|31|[SIMULADOR JUEGOS OLÍMPICOS](./Roadmap/31%20-%20SIMULADOR%20JUEGOS%20OLÍMPICOS/ejercicio.md)|[📝](./Roadmap/31%20-%20SIMULADOR%20JUEGOS%20OLÍMPICOS/python/mouredev.py)|[▶️](https://youtu.be/JN656lQ9WBo)|[👥](./Roadmap/31%20-%20SIMULADOR%20JUEGOS%20OLÍMPICOS/)
69+
|32|[BATALLA DEADPOOL Y WOLVERINE](./Roadmap/32%20-%20BATALLA%20DEADPOOL%20Y%20WOLVERINE/ejercicio.md)|[📝](./Roadmap/32%20-%20BATALLA%20DEADPOOL%20Y%20WOLVERINE/python/mouredev.py)|[▶️](https://youtu.be/u2Tn2H3pqjw)|[👥](./Roadmap/32%20-%20BATALLA%20DEADPOOL%20Y%20WOLVERINE/)
70+
|33|[RESCATANDO A MICKEY](./Roadmap/33%20-%20RESCATANDO%20A%20MICKEY/ejercicio.md)|[📝](./Roadmap/33%20-%20RESCATANDO%20A%20MICKEY/python/mouredev.py)|[▶️](https://youtu.be/Bo9Cp3N68C0)|[👥](./Roadmap/33%20-%20RESCATANDO%20A%20MICKEY/)
71+
|34|[ÁRBOL GENEALÓGICO DE LA CASA DEL DRAGÓN](./Roadmap/34%20-%20ÁRBOL%20GENEALÓGICO%20LA%20CASA%20DEL%20DRAGÓN/ejercicio.md)|[📝](./Roadmap/34%20-%20ÁRBOL%20GENEALÓGICO%20LA%20CASA%20DEL%20DRAGÓN/python/mouredev.py)|[▶️](https://youtu.be/GAHBOAzgE2w)|[👥](./Roadmap/34%20-%20ÁRBOL%20GENEALÓGICO%20LA%20CASA%20DEL%20DRAGÓN/)
72+
|35|[REPARTIENDO LOS ANILLOS DE PODER](./Roadmap/35%20-%20REPARTIENDO%20LOS%20ANILLOS%20DE%20PODER/ejercicio.md)|[🗓️ 02/09/24](https://discord.gg/tKNfr5p8?event=1275291456201953441)||[👥](./Roadmap/35%20-%20REPARTIENDO%20LOS%20ANILLOS%20DE%20PODER/)
7073

7174
## Cursos en YouTube
7275

7376
A media que avanzamos en el roadmap estoy creando cursos que agrupan las clases.
7477

75-
<div style="display: flex;">
76-
<div style="flex: 1;">
77-
<a href="https://youtu.be/TdITcVD64zI"><img src="http://i3.ytimg.com/vi/TdITcVD64zI/maxresdefault.jpg"/></a>
78-
</div>
79-
<div style="flex: 1;">
80-
<a href="https://youtu.be/b-kk1WQo-YA"><img src="http://i3.ytimg.com/vi/b-kk1WQo-YA/maxresdefault.jpg"/></a>
81-
</div>
82-
</div>
78+
[![Lógica 1](http://i3.ytimg.com/vi/TdITcVD64zI/maxresdefault.jpg)](https://youtu.be/TdITcVD64zI)
79+
80+
[![Lógica 2](http://i3.ytimg.com/vi/b-kk1WQo-YA/maxresdefault.jpg)](https://youtu.be/b-kk1WQo-YA)
81+
82+
[![Lógica 3 SOLID](http://i3.ytimg.com/vi/ASBC5drF-QU/maxresdefault.jpg)](https://youtu.be/ASBC5drF-QU)
8383

8484
## Instrucciones
8585

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/bash
2+
3+
# URL del sitio web oficial del lenguaje Bash:
4+
# https://www.gnu.org/software/bash/
5+
6+
# Comentario de una línea
7+
8+
: '
9+
Comentario
10+
de varias
11+
líneas
12+
'
13+
14+
# Creación de una variable
15+
mi_variable="Hola, Mundo!"
16+
17+
# Creación de una constante (en Bash se usa la convención de variables de solo lectura)
18+
readonly MI_CONSTANTE="Esto es una constante"
19+
20+
# Variables representando los tipos de datos primitivos en Bash
21+
cadena_de_texto="Esto es una cadena de texto"
22+
entero=42
23+
flotante=3.14
24+
booleano_verdadero=true
25+
booleano_falso=false
26+
27+
# Imprimir por terminal el texto: "¡Hola, Bash!"
28+
echo "¡Hola, Bash!"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Documentación oficial: https://learn.microsoft.com/es-es/dotnet/csharp/
2+
/* Este es en comentario de múltiples líneas
3+
Prueba de comentarios
4+
*/
5+
// Este es un comentario de una linea
6+
7+
//Definimos Variables y Constantes
8+
var variable = 30; //Variable en C#
9+
const int constante = 10; //Constante en C#
10+
11+
//Tipos de Datos
12+
int entero = 20; //Entero
13+
float flotante32Bits = 5.14f; //Numero de punto flotante de 32 bits
14+
double doble = 3.14; //Numero de punto flotante de 64 bits
15+
long largo = 3.2342; //Numero de punto flotante de 64 bits
16+
decimal decimalNumber = 10.3; //Decimal
17+
string cadena = "Esto es un String"; //Cadena de texto
18+
char caracter = 'C'; //Caracter
19+
bool booleano = true; //Booleano
20+
21+
//Imprimimos en consola
22+
Console.WriteLine("Variable: " + variable);
23+
Console.WriteLine("Constante: " + constante);
24+
Console.WriteLine("Entero: " + entero);
25+
Console.WriteLine("Flotante 32 bits: " + flotante32Bits);
26+
Console.WriteLine("Doble: " + doble);
27+
Console.WriteLine("Largo: " + largo);
28+
Console.WriteLine("Decimal: " + decimalNumber);
29+
Console.WriteLine("Cadena: " + cadena);
30+
Console.WriteLine("Caracter: " + caracter);
31+
Console.WriteLine("Booleano Verdadero: " + booleano);
32+
Console.WriteLine("Booleano Falso: " + !booleano);
33+
Console.WriteLine("Hola Mundo!");
34+
// // Documentación oficial: https://learn.microsoft.com/es-es/dotnet/csharp/
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// https://isocpp.org/
2+
//ademas usaré la documentacion de
3+
//https://dev.epicgames.com/documentation/en-us/unreal-engine/epic-cplusplus-coding-standard-for-unreal-engine
4+
5+
// este es un comentario en una sola linea
6+
7+
/*
8+
esto es un comentario
9+
en varias lineas
10+
*/
11+
12+
#include <iostream>
13+
#include <string>
14+
15+
int main() {
16+
//variable
17+
int num = 08;
18+
19+
//datos primitivos
20+
21+
int numerico = 08;
22+
float decimal = 2.3f;
23+
double decimal2 = 3.5;
24+
bool boleana = true;
25+
26+
std::string Hola = "Este es el string";
27+
28+
const float PI = 3.1416;
29+
30+
std::cout << "!Hola C++¡";
31+
32+
return 0;
33+
34+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
package main
2+
3+
import "fmt"
4+
5+
/* Crea un comentario en el código y coloca la URL del sitio web oficial del
6+
lenguaje de programación que has seleccionado. */
7+
8+
// https://go.dev/
9+
10+
/* Representa las diferentes sintaxis que existen de crear comentarios
11+
en el lenguaje (en una línea, varias...). */
12+
13+
// Single line
14+
15+
/*
16+
MultiLine 1
17+
MultiLine 2
18+
*/
19+
20+
// Crea una variable (y una constante si el lenguaje lo soporta).
21+
var lang = "go"
22+
23+
const fixedValue = "constant"
24+
25+
/* Crea variables representando todos los tipos de datos primitivos del
26+
lenguaje (cadenas de texto, enteros, booleanos...) */
27+
28+
var enteros int = 40
29+
var flotantes float64 = 0.5
30+
var booleanos bool = false
31+
var cadenaDeTexto string = "nombre"
32+
33+
func main() {
34+
// Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
35+
fmt.Println("¡Hola, Go!")
36+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
public class Anaroncero {
2+
public static void main(String[] args) {
3+
4+
/*
5+
* EJERCICIO:
6+
* - Crea un comentario en el código y coloca la URL del sitio web oficial del
7+
* lenguaje de programación que has seleccionado.
8+
* - Representa las diferentes sintaxis que existen de crear comentarios
9+
* en el lenguaje (en una línea, varias...).
10+
* - Crea una variable (y una constante si el lenguaje lo soporta).
11+
* - Crea variables representando todos los tipos de datos primitivos
12+
* del lenguaje (cadenas de texto, enteros, booleanos...).
13+
* - Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
14+
*
15+
* ¿Fácil? No te preocupes, recuerda que esta es una ruta de estudio y
16+
* debemos comenzar por el principio.
17+
*/
18+
19+
20+
// 1.
21+
// https://www.java.com/es/
22+
23+
// 2.
24+
/* Comentario
25+
varias
26+
líneas */
27+
28+
// Comentario en una línea
29+
30+
// 3.
31+
String variable = "anaroncero";
32+
final String variable2 = "usuario";
33+
34+
// 4.
35+
// enteros
36+
byte num1 = 1; // –128 a 127
37+
short num2 = 30000; // –32,768 a 32,767
38+
int num3 = 2000000000; // –2,147,483,648 a 2,147,483,647
39+
long num4 = 9000000; // –9,223,372,036,854,775,808 a 9,223,372,036,854,775,807
40+
41+
// decimales
42+
float pi = 3.1415926535f; // 4 bytes
43+
double e = 2.718281828459045235360; // 8 bytes
44+
45+
// carácter
46+
char c = 'A';
47+
char cnumerico = 78;
48+
49+
// alfanuméricos
50+
String cadena = "Hola Mundo";
51+
52+
// booleanos
53+
boolean verdadero = true;
54+
boolean falso = false;
55+
56+
// 5.
57+
System.out.println("Hola JAVA!");
58+
}
59+
}
Lines changed: 70 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,81 @@
1+
public class Davidr1594 {
2+
public static void main(String[] args) {
3+
int a = 10, b=5;
4+
System.out.println("------Operadores de aritmeticas--------");
15

2-
public class Davidr1594{
6+
System.out.println("suma");
7+
System.out.println(a+b);
38

4-
// url del sitio oficial de java: https://java.com/es/
9+
System.out.println("Resta");
10+
System.out.println(a-b);
511

6-
// Este es un comentario de una sola linea
12+
System.out.println("Multiplicación");
13+
System.out.println(a * b);
14+
15+
System.out.println("Division");
16+
System.out.println(a/b);
717

8-
/*
9-
Este es un comentario
10-
de varias
11-
lineas
12-
*/
18+
System.out.println("Operadores de asignacion");
19+
// se utiliza el =
20+
//a vale 10 pero le asignaremos el valor de b
21+
a = b;
22+
//ahora a vale 5
1323

14-
//Variable
15-
String myVariable = "Representación de mi primera variable";
24+
System.out.println("operador de asignacion simple");
25+
26+
System.out.println("+=");
27+
a += 5;
28+
System.out.println(a);
1629

17-
//Una constante
18-
final double PI = 3.1416;
30+
System.out.println("--------Operadores de Comparacion---------");
1931

20-
// Datos primitivos
21-
byte unByte = 1; // 8 bits integer
22-
short unShort = 234; // 16 bits integer
23-
int unInt = 24343; // 32 bits integer
24-
long unLong = 23244233; // 64 bits integer
25-
float unFloat = 2.5f; // 32 bits flotante
26-
double unDouble = 3323.43;
27-
boolean unBoolean = true; // 1 bit booleano
28-
char unChar = 'a'; // 16 bits un caracter
29-
String unString = "Soy un String"; // una cadena
32+
System.out.println("Comparacion: == compara si son iguales");
33+
System.out.println("!= Pregunta si es distinto a: ");
34+
System.out.println("< > menor y mayor que:");
35+
3036

37+
System.out.println("---------Operadores Logicos--------");
38+
System.out.println("AND o &&");
39+
if(a > b && a> 0){
40+
System.out.println(a);
41+
}else System.out.println(b);
3142

32-
public static void main(String[] args) {
43+
System.out.println("|| OR");
44+
if((a>b) || a> 0 ){
45+
System.out.println(a);
46+
}else System.out.println(b);
3347

34-
String saludo = "Hola, Java";
35-
System.out.println(saludo);
36-
}
48+
System.out.println("! NOT");
49+
if (a != b) {
50+
System.out.println(a);
51+
} else {System.out.println(b);
52+
53+
}
54+
55+
System.out.println("--------Operadores de incremento y decremento--------");
56+
57+
System.out.println("++ y -- aumenta el valor de 1 en 1 o lo decrementa");
58+
59+
System.out.println("----------Operador Ternario-------");
60+
System.out.println("String mensaje = (edad >= 18) ? \"Eres mayor de edad\" : \"Eres menor de edad\"");
61+
int resultado = ((a>b)? a:b);
3762

38-
}
63+
/*
64+
Operadores de bits
65+
Los operadores de bits se utilizan para realizar operaciones a nivel de bits en valores enteros.
66+
Estos operadores permiten manipular datos binarios y realizar operaciones de desplazamiento de bits.
67+
Ejemplos de operadores de bits incluyen & (AND a nivel de bits), | (OR a nivel de bits), ^ (XOR a nivel de bits),
68+
<< (desplazamiento a la izquierda) y >> (desplazamiento a la derecha).
69+
*/
70+
71+
//Ejercicio Extra
72+
73+
System.out.println("ejercicio Extra");
74+
for (int i = 10; i < 55; i++) {
75+
if(i != 16 && (i%3 != 0)){
76+
System.out.print(i+",");
77+
}
78+
79+
}
80+
}
81+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
public class EnrGarVic {
2+
/*
3+
* EJERCICIO:
4+
* - Crea un comentario en el código y coloca la URL del sitio web oficial del
5+
* lenguaje de programación que has seleccionado.
6+
* - Representa las diferentes sintaxis que existen de crear comentarios
7+
* en el lenguaje (en una línea, varias...).
8+
* - Crea una variable (y una constante si el lenguaje lo soporta).
9+
* - Crea variables representando todos los tipos de datos primitivos
10+
* del lenguaje (cadenas de texto, enteros, booleanos...).
11+
* - Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
12+
*/
13+
14+
// comentario
15+
16+
/*comentario largo */
17+
18+
19+
20+
//crear variables
21+
int numero = 10;
22+
final String NOMBRE="Kike";
23+
24+
/*Crea variables representando todos los tipos de datos primitivos
25+
del lenguaje (cadenas de texto, enteros, booleanos...).*/
26+
byte numByte = 0;
27+
short numShort = 0;
28+
long numLong = 0L;
29+
float numFloat = 0.0F;
30+
String cadena = "Hola";
31+
int num = 10;
32+
double decimal = 10.5;
33+
boolean bandera = true;
34+
char caracter = 'a';
35+
36+
/*Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"*/
37+
38+
public static void main(String[] args) {
39+
System.out.println("¡Hola, Java!");
40+
}
41+
42+
}
43+
44+
45+
46+

0 commit comments

Comments
 (0)