First of all here is the link to our project (mauricio and mine) the super sudoku:
https:/
It was a very hard proyect, mainly because there are so many things to do from the school and tournments and trainings and all that stuff. The easiest part of the project was making the body of the sudoku, the lines and all that stuff. We suffered a lot or at least i suffered a lot in the project because I doesnt understand vectors, so i need to look for information and practice to finally finish it. Hope you like it.
]]>#TC1017
link for the final code:
https://github.com/kenwbauer/JairArmando/blob/master/final%20final
i liked to work with Jair, he agreed and helped on everything
Continue reading ]]>#TC1017
link for the final code:
https:/
i liked to work with Jair, he agreed and helped on everything
]]>SUDOKU
Aqui esta el codigo principal en github de lo que conllevo hacer todo esto: https://github.com/kenwbauer/EduardoJuan
Pero tambien hay un video para que puedan ver como funciona el juego
Link: https://youtu.be/5y2GwsoUDM8
ASI QUE DISFRUTENLO
#Tc1017
Continue reading ]]>SUDOKU
Aqui esta el codigo principal en github de lo que conllevo hacer todo esto: https:/
Pero tambien hay un video para que puedan ver como funciona el juego
Link: https:/
ASI QUE DISFRUTENLO
#Tc1017
]]>#TC1017 #SUDOKU #WorkHardOrGoHome
Hey everybody!
Here is a link to our Final Project
please play with it and let me a comment guys
link: https://github.com/JairBarragan/JairArmando/blob/master/Final%20with%20colors
Continue reading ]]>
#TC1017 #SUDOKU #WorkHardOrGoHome
Hey everybody!
Here is a link to our Final Project
please play with it and let me a comment guys
link: https:/
]]>
#FinalProyect #Sudoku #TC1017
A lo largo de este curso aprendí muchas cosas sobre programación, personalmente yo no tenía idea de cómo hacerlo, yo nunca había tenido clases de este tipo y al principio no sabía qué hacer, como empezar, pero con el paso del tiempo me puse a investigar y con la ayuda de Ken y mis compañeros fui aprendiendo.
En este proyecto final, sobre hacer un sudoku, se me hizo un buen proyecto (algo complicado), pero te hace pensar en todo lo que has hecho en el semestre y ponerlo en práctica. También me hizo investigar ciertas cosas utilizando todos los recursos posibles, como preguntarle a Ken con ciertos problemas, buscar información en la web y con mis compañeros de cómo hicieron algunas cosas.
La parte más complicada fue checar los números que no se repitan, batallamos mucho en los cuadrantes para crear la función que verificara si se repetía en ellos. Otra cosa que también se nos complico fue la implementación de colores, cuando queríamos poner los números rojos predeterminados también se ponían los demás rojos, hasta que Ken me dijo que solo había que ponerle un signo negativo y con la función absoluto seria como un tipo de truco y ya nos ponía los números verdes que introducía el usuario.
Como conclusión, fue un buen proyecto porque pone a prueba todas las habilidades para poder realizarlo y las buenas cosas que se crean con la programación. Y como dije anteriormente yo no tenía ni idea de como empezarlo, y si fue de gran ayuda el programa base que nos proporcionó Ken para irnos guiando.
Aquí está el link de GitHub para el código del sudoku:
https://github.com/kenwbauer/IvannaJoseEduardo/blob/master/sudoku.cpp
Continue reading ]]>#FinalProyect #Sudoku #TC1017
A lo largo de este curso aprendí muchas cosas sobre programación, personalmente yo no tenía idea de cómo hacerlo, yo nunca había tenido clases de este tipo y al principio no sabía qué hacer, como empezar, pero con el paso del tiempo me puse a investigar y con la ayuda de Ken y mis compañeros fui aprendiendo.
En este proyecto final, sobre hacer un sudoku, se me hizo un buen proyecto (algo complicado), pero te hace pensar en todo lo que has hecho en el semestre y ponerlo en práctica. También me hizo investigar ciertas cosas utilizando todos los recursos posibles, como preguntarle a Ken con ciertos problemas, buscar información en la web y con mis compañeros de cómo hicieron algunas cosas.
La parte más complicada fue checar los números que no se repitan, batallamos mucho en los cuadrantes para crear la función que verificara si se repetía en ellos. Otra cosa que también se nos complico fue la implementación de colores, cuando queríamos poner los números rojos predeterminados también se ponían los demás rojos, hasta que Ken me dijo que solo había que ponerle un signo negativo y con la función absoluto seria como un tipo de truco y ya nos ponía los números verdes que introducía el usuario.
Como conclusión, fue un buen proyecto porque pone a prueba todas las habilidades para poder realizarlo y las buenas cosas que se crean con la programación. Y como dije anteriormente yo no tenía ni idea de como empezarlo, y si fue de gran ayuda el programa base que nos proporcionó Ken para irnos guiando.
Aquí está el link de GitHub para el código del sudoku:
https:/
Well to start this project was complicated,
at first I thought that i will be imposible to finish it,
but then we start asking to our teammates or the teacher how to do it,
it helps a lot and the things get better but i took a lot to finish it on time .
But I think this will be useful for the final exam.
the link:
https:/
#TC1017
Hi! This blog post is about make a review of all the work realized on the project in the last weeks of commits on GitHub, write, save compile and run code...
I'll explain to you how I found information to help me to do this stuff, so, besides to go of the teacher's office and search in google, I asked also to some friends (Jose Luís, Osvaldo, Fernando). And how's work with my partner Ale.
The first week working in the project was kind of hard because I didn't undertand the base code very well, so the first thing that I did was to write the "about sudoku" and "rules" functions because those are the easiest ones. Then, I went to the Ken`s office to ask about what does each function without the two that Ale wrote. After that, I started to write the "writenumbers" function asking to the user the line and the column where he/she wants to write the number of him/her choice (between 1 to 9). Inside this function I called two more functions; 1 to check line and column and the second to check each 3x3 grid. After we have that end, Ale added some colours to the menu options and I did it with the board making the original numbers in red, the 0's in the normal colour and the user numbers in green as is especified on the page of sudoku. The last thing that I did was the "restartsudoku" function (it is asked by ken as well).
Working with Ale is... I don't know, I think that she needs to have initiative and to know what is what we need to do and make a mentality that we need to do only the things that it is asked. In general was good because she got done everything that she has to do and when I did changes she inmediatly was asking me about how the changes works.
Finally:
#TC1017
Hi! This blog post is about make a review of all the work realized on the project in the last weeks of commits on GitHub, write, save compile and run code…
I’ll explain to you how I found information to help me to do this stuff, so, besides to go of the teacher’s office and search in google, I asked also to some friends (Jose Luís, Osvaldo, Fernando). And how’s work with my partner Ale.
The first week working in the project was kind of hard because I didn’t undertand the base code very well, so the first thing that I did was to write the “about sudoku” and “rules” functions because those are the easiest ones. Then, I went to the Ken`s office to ask about what does each function without the two that Ale wrote. After that, I started to write the “writenumbers” function asking to the user the line and the column where he/she wants to write the number of him/her choice (between 1 to 9). Inside this function I called two more functions; 1 to check line and column and the second to check each 3×3 grid. After we have that end, Ale added some colours to the menu options and I did it with the board making the original numbers in red, the 0’s in the normal colour and the user numbers in green as is especified on the page of sudoku. The last thing that I did was the “restartsudoku” function (it is asked by ken as well).
Working with Ale is… I don’t know, I think that she needs to have initiative and to know what is what we need to do and make a mentality that we need to do only the things that it is asked. In general was good because she got done everything that she has to do and when I did changes she inmediatly was asking me about how the changes works.
Finally:
This is my final post, and it’s about my sudoku program
At the beggining, I fount it kind of impossible to finish, because the code scared the s#%t out of me, but it was not at hard as it is.
We just needed a little help of friends and of course the teachers help in order to understand this thing and make it work.
I’m not gonna lie, it took us a lot of time, most of it founding where was the damn problem at the time to compile it, but it was a very nice experience.
So that was it, this might be my last post so I will leave this image down below to remenber that we all are like ninjas, and also because, well sudoku dude.
Ninja banana forever !!!
]]>The semester is ending and our programming #TC1017 C++ course will come to an end; but not before we turn in our final project, which kept us busy for the last couple weeks. Something pretty curious happened to me during this course. I thought challenges were huge until i started getting into them and breaking them into little pieces which didn´t took me long to figure out. After what might have been a couple intense days of thinking and planning, my teammate and I got our sudoku working.
I´ll try to explain, in general terms, how our program works.
Vectors may exist in two dimensions. In this case, our sudoku board is simply a two dimensional vector that is modified by the main function in two sections: WRITE & ERASE. But before writing and erasing we had to check 4 things.
1: You may not modify or erase and original number.
First, we solved this creating a paralel clone vector that was not going to be modified during the game; so everytime the user wanted to erase or to write a new value inside the vector, the program was going to check whether that given position contained or not an original number that belonged to the level. If no original number was found, then the program could continue and write a new value, otherwise, a warning message would print. After talking to ken about a bug, he saw our huge conditonal code creating a huge, 81-slot, vector everytime the Write section was called. He said that our program would run slow and that there was an easier way and more efficient solution to our problem. Negative numbers. The program basically writes every original extracted input as a negative value, but prints the absolute value. So it checks if the value is or not negative. If is, then it is an original number, if not, then... No.
2, 3 & 4: May not repeat a number inside the same cuadrant, on the same row or on the same column:
Columns and Rows were easy to solve. Write a couple nested for loops that walk the conditional (looking for input) through each row or column given and return a boolean if found... The challenge was cuadrants. Since cuadrants were never defined in our vector, we had to create a function that returns the numbered cuadrant the input was located in (1-9), and with this location, a second group of nested for loops would look for a coincidence with the input given. All these where written inside a boolean function that returned TRUE if repeated.
All this development was written after we had checked the input was a number between 1 and 9 and that we read the initial menu input from the user (W for write, E for erase, Q for quit... etc) the last step was writing a function that told the user he had won and aesthetic details.
I´ll include some pictures and the link for the code in gitHub.
Rodrigo and JuanCarlos´s Sudoku Final Project
How the main menu looks like.
You can read how to play sudoku and some history of how sudoku was created.
Here´s the writing interface. The program asks for Row and Column. Notice the new "2".
When you complete a level, the program lets you know right away!
Feel free to download the code and play it in your computer.
#TC1017
cheers.
Continue reading ]]>The semester is ending and our programming #TC1017 C++ course will come to an end; but not before we turn in our final project, which kept us busy for the last couple weeks. Something pretty curious happened to me during this course. I thought challenges were huge until i started getting into them and breaking them into little pieces which didn´t took me long to figure out. After what might have been a couple intense days of thinking and planning, my teammate and I got our sudoku working.
I´ll try to explain, in general terms, how our program works.
Vectors may exist in two dimensions. In this case, our sudoku board is simply a two dimensional vector that is modified by the main function in two sections: WRITE & ERASE. But before writing and erasing we had to check 4 things.
1: You may not modify or erase and original number.
First, we solved this creating a paralel clone vector that was not going to be modified during the game; so everytime the user wanted to erase or to write a new value inside the vector, the program was going to check whether that given position contained or not an original number that belonged to the level. If no original number was found, then the program could continue and write a new value, otherwise, a warning message would print. After talking to ken about a bug, he saw our huge conditonal code creating a huge, 81-slot, vector everytime the Write section was called. He said that our program would run slow and that there was an easier way and more efficient solution to our problem. Negative numbers. The program basically writes every original extracted input as a negative value, but prints the absolute value. So it checks if the value is or not negative. If is, then it is an original number, if not, then… No.
2, 3 & 4: May not repeat a number inside the same cuadrant, on the same row or on the same column:
Columns and Rows were easy to solve. Write a couple nested for loops that walk the conditional (looking for input) through each row or column given and return a boolean if found… The challenge was cuadrants. Since cuadrants were never defined in our vector, we had to create a function that returns the numbered cuadrant the input was located in (1-9), and with this location, a second group of nested for loops would look for a coincidence with the input given. All these where written inside a boolean function that returned TRUE if repeated.
All this development was written after we had checked the input was a number between 1 and 9 and that we read the initial menu input from the user (W for write, E for erase, Q for quit… etc) the last step was writing a function that told the user he had won and aesthetic details.
I´ll include some pictures and the link for the code in gitHub.
Rodrigo and JuanCarlos´s Sudoku Final Project
How the main menu looks like.
You can read how to play sudoku and some history of how sudoku was created.
Here´s the writing interface. The program asks for Row and Column. Notice the new “2”.
When you complete a level, the program lets you know right away!
Feel free to download the code and play it in your computer.
#TC1017
cheers.
]]>Here we are once again
We are in the final part of this semester
Just keep Working Hard people!
Armando and I are almost done with our project, tring to fix some small problems, but won't give up now!
Continue reading ]]>Here we are once again
We are in the final part of this semester
Just keep Working Hard people!
Armando and I are almost done with our project, tring to fix some small problems, but won’t give up now!
]]>