Entrades

S'estan mostrant les entrades d'aquesta data: juny, 2020

38.- Chessmen: the bishop

Imatge
Començo a fer les peces, totes són tornejades excepte el caball que també té la base tornejada. Les peces me les he inventat jo inspirant-me en les peces Staunton estàndars que correr pel mercat. Aniré explicant com he fet l'alfil i a les següents entrades només penjaré fotos de les peces. Comienzo a hacer las piezas , todas son torneadas excepto el caballo aunque también tiene la base torneada . Las piezas me las he inventado yo inspirándome en las piezas Staunton estándares que corren por el mercado . Iré explicando cómo he hecho el alfil y en las siguientes entradas sólo colgaré fotos de las piezas . I start making the pieces, all they are turned except the knight which also has the base turned. The pieces were invented by me inspired by the standard Staunton pieces that are on the market. I will explain how I made the bishop and in the following posts I will only upload photos of the pieces. Aquí la matèria prima: boix per les blanques i cirerer

37.- En passant

Imatge
Doncs com diu el títol de l'entrada s'ha de poder gestionar aquesta opció, una miradeta al codi i llestos. Pues como dice el título de la entrada se tiene que poder gestionar esta acción, un repaso al código y ya funciona. It is necessary to manage this tipical action, just taking a look to the code and now is possible.

36.- Human vs human

Imatge
Un dels objectius era que, apart de jugar contra una màquina, poguéssim jugar dos jugadors entre ells. El programa que he fet per jugar contra la màquina val igual per jugar entre dos jugadors ja que els moviments que faria l'oponent virtual els ha de moure un mateix sobre el taulell i clicar el botó de temps com si fos un jugador real. Per tant no he hagut de canviar res del codi. Més endavant implementaré el poder jugar sense haver de clicar el botó de temps i intentaré poder triar entre aquestes dues opcions al iniciar una partida, tot dependrà de si mr. Arduino Micro em deixa entrar tot el codi en el seu ínfim espai de memòria. En el video utilitzo el programa PYCHESS ja que Arena no deixa la opció human vs human. Uno de los objetivos era que , aparte de jugar contra una máquina, pudiéran jugar dos jugadores entre sí . El programa que he hecho para jugar contra la máquina vale igual para jugar entre dos jugadores ya que los movimientos que haría el opon

35.- Capturing pieces: two ways

Imatge
Mentre avanço amb el projecte vaig millorant cosetes del codi. En el video es pot veure com es pot matar aixecant la peça que captura primer o bé aixecant la capturada primer sense que hi hagi cap problema. Mientras avanzo con el proyecto voy mejorando cositas del código . En el video se puede ver cómo se puede matar levantando la pieza que captura primero o bien levantando la capturada primero sin que haya ningún problema . As I progress with the project I improved things on the code. In the video you can see how you can capture by lifting the piece you capture first or by lifting the captured one first without any prob lem.

34.- Playing against Arena with the 8x8 board

Imatge
Primeres proves amb el codi passat al taulell 8x8, provo de jugar amb Arena movent les peces blanques, en aquest moment no tinc fetes les peces negres encara, em falta posar el pes i els imants, si que les tinc manufacturades però no les puc utilitzar per jugar. les blanques ja estan enllestides, amb imant i tot. Més endavant penjaré com he anat fent les peces. Primeras pruebas con el código pasado al tablero de 8x8 , intento jugar con Arena moviendo las piezas blancas , en este momento no tengo hechas las piezas negras aún, me falta poner el peso y los imanes , si que las tengo manufacturadas pero no las puedo utilizar para jugar. las blancas ya están terminadas , con imán y todo. Más adelante colgaré como he ido haciendo las piezas. First tests with the code passed on the 8x8 board, I try to play with Arena moving the white pieces, at this time I have not made the black pieces yet, I need to put the weight and magnets, yes I have them manuf

33.- First steps with an 8x8 board

Imatge
Doncs ha arribat el moment de començar a tastar el taulell real, ja deixo de banda el taulell de 4x4 i m'endinso en la bogeria total, fent servir el taulell gran però amb el codi del petit. La veritat és que tenia fe nul.la en que això funcionés, ara sortirem de dubtes, lets go! Pues ha llegado el momento de empezar a probar el tablero real , ya dejo de lado el mini tablero de 4x4 y me adentro en la locura total, utilizando en tablero grande pero con el código del pequeño. La verdad es que tenía fe nul.la en que esto funcionara , ahora saldremos de dudas , lets go! Well, it's time to start tasting the real board, I put aside the 4x4 miniboard and go into total madness. The truth is that I had no faith that this would work, now we will leave doubts, lets go! It is just the same code of the 4x4 board but using the 8x8, that's the reason why the e..h 1...4 squares can only be used. First attempt failed! :((...but, it is just a bad connection, nothing

32.- Notation

Imatge
Uns quants retocs i la notació cartesiana ja funciona Unos cuantos retoques y la notación cartesiana ya funciona. A few tweaks and Cartesian notation already works