Skip to content

Created with Python due to a mandatory project requested from a subject

Notifications You must be signed in to change notification settings

FranciscoSole/four-in-a-row

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Four in a row / Cuatro en raya

Features / Funcionalidades

English

  • All messages are adapted to the chosen language (Spanish or English)
  • Logs every match after ending (when tie or someone win)
  • Shows all matches logs and lets you choose which one do you want to see (after choosing it shows the match table and it's winner)
  • Efficient validations to check if someone wins
  • User friendly
  • Several general code quality improvement

Español

  • Todos los mensajes están adaptados al idioma seleccionado (Español o Inglés)
  • Registra cada partida cuando termina (sea por empate o victoria)
  • Muestra el histórico de partidas y te permite elegir la que quieras ver (después de seleccionar una, muestra el tablero y quién ganó)
  • Validaciones eficientes cuando se revisa si alguien ganó
  • Fuertes mejoras en la calidad de código

Introduction / Introducción

English

Through 2022 we learned mostly Python and this proyect was requested in the last subject related to this language that I, at this moment, was in. It had to be done only with:

  • Functions
  • Arrays
  • Matrix
  • Strings
  • Exceptions
  • Files
  • Recursion
  • Tuple, sets or dictionaries (atleast one)

With my team, we done the version that's in "First version" folder. In this version I was the leader, main developer and also an active support when they needed me.

Last night I had some free time and wanted to refactor it and create this "Second version" because I think first version doesn't representate how is my code actually. Anyway I'll let it there for you if you want to check the difference between them.

For this new version also I didn't take so much time to do it, so all the stetic related isn't the most scenic but it's functional and it's almost the same as the first. The important thing is all the improvements related to scalability, documentation, spatial and space costs, etc.

Enjoy it!

Español

Durante 2022 aprendimos Python mayormente y este proyecto fue el TPO de la última materia relacionada a este lenguaje que curse actualmente. Tenía que ser hecho con:

  • Funciones
  • Listas
  • Matrices
  • Cadenas de caracteres
  • Excepciones
  • Archivos
  • Recursividad
  • Tuplas, conjuntos o diccionarios (uno de los tres era suficiente)

Con mi equipo creamos la versión que está dentro de la carpeta "First version". En esta versión fui el lider, desarrollador principal y también un soporte activo cuando ellos me necesitaron.

Anoche tuve un rato libre y me dieron ganas de hacerle un refactor para crear esta "Second version" meramente porque creo que la primera no representa mi nivel actual de código. De cualquier manera la dejaré ahí por si te gustaría ver la diferencia entre ellos.

En esta nueva versión la verdad que no me tomé mucho tiempo para hacerlo, por lo que lo relacionado a la estética no es su fuerte y sigue bastante la estructura de la primera versión. Lo importante es la mejora en la escalabilidad, documentación, costos espaciales y temporales, etc.

¡Disfrutalo!

About

Created with Python due to a mandatory project requested from a subject

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages