1 # TiTRIS 2 A work-in-progress Tetris clone for the TI-nspire CX. 3 4 ## About 5 TiTRIS is being written as a fun challenge to make a fast-performing Tetris clone for my graphing calculator. Much of the game data is stored as hex values, using bitwise operations to modify the state of the game. This makes some parts of the code a bit difficult to read at first, but I'm happy to answer any questions. 6 7 Tetrominoes are represented as 2-byte hex values, with arrays to represent their rotated states. More information about tetromino structure can be found in **piecelayout.txt**. 8 9 When completed, the state of the 10x17 game board will be represented in only 68 bytes of memory. 10 11 ## Compiling 12 If you want to run this game, you will need to install the Ndless jailbreak on your calculator. You will also need to install the Ndless SDK on your computer to compile the code. 13 14 Also, make sure you have a **TI-nspire CX** running OS version 4.5.1180. I haven't tested this on any other calculator or OS version, so I don't know what will happen. You can always use some emulator. 15 16 1. Install the Ndless jailbreak on your calculator. 17 2. Install the Ndless SDK on your computer. 18 3. Clone this repository to your computer. 19 4. Run the provided makefile to build the code. 20 5. Transfer the generated TiTRIS.tns file to your calculator using the official TI Computer Link Software or other equivalent linking program. I use TILP. 21 6. Open TiTRIS.tns from the "My Documents" screen, and the game will run. 22 23 Guides for installing the Ndless jailbreak and SDK can be found via Google. 24 25 ## Contributing 26 If you would like to contribute to this game, send a pull request. I'm not really looking for help, but if you come up with something cool I'd love to merge it in!