Tuesday, July 4, 2017

Tetris in Java OpenGL

The tetris C code has now been ported to Java OpenGL. I did the porting in two sittings of two hours each. It involved quite a lot of changes and I emerged victorious. There was one nagging runtime ArrayIndexOutOfBoundsException which caused a lot of testing time to be wasted.

Here is the code.

Snapshot:

2 comments:

  1. me sirvio de mucho tu codigo, gracias! algunas partes no entendi..ojala en un futuro puedas explicarlo mas detalladamente. saludos!

    ReplyDelete
    Replies
    1. Seguro que te ayudaré a entender el código si es necesario. Lo escribí hace mucho tiempo. Estaré libre los fines de semana. adiós.

      Delete