BTW I did the cube.py class in a hurry... so plz, be merciful with the quality of the code.. :)
2010/7/21 Victor Hugo Germano <[email protected]>: > hey there... > > the cube.py file has a algoritm to: > - move all possible position on a 2d space, generating (without > rotation) 136 diferent position for the pieces > which mean that we only need to: > (pseudo code) > > for each piece: > - Move down and right untill u cannot move anymore (already working) > - get the next rotation for that piece > - start over > > > at the end we will have all the possible rotations/movements for each piece > > cheers > > > > > 2010/7/21 Maciej Bliziński <[email protected]>: >> 2010/7/21 Maciej Bliziński <[email protected]>: >>> - data entry - done >>> - puzzle piece parser - Victor Hugo, done >>> - rotation - Maciej, x done, y and z underway >> >> I've finished that part. There's also code for generating all 24 rotations. >> >>> - moving - Victor Hugo, down/right are done, left/up underway >> >> In total, 6 directions are needed, we have 2 now. >> >> Anybody else made progress? >> >> I've created a separate utility script to display the pieces. I think >> that we might have some errors in the data entry. >> >> http://paste.pocoo.org/show/239943/ >> >> Maciej >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Ireland" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/pythonireland?hl=en. >> >> > > > > -- > > Victor Hugo Germano > Fone: Ireland, Dublin - 0852442485 > Email: [email protected] > Skype: victorhugogermano > -- Victor Hugo Germano Fone: Ireland, Dublin - 0852442485 Email: [email protected] Skype: victorhugogermano -- You received this message because you are subscribed to the Google Groups "Python Ireland" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pythonireland?hl=en.
