Crack The Code
Crack The Code
Crack the Code is a Python based, code breaking game for the TI-Nspire CX II family.
Programming Objectives:
- Use appropriate libraries
- Create random integers
- Create procedures to modularize code
- Create iterative statements
- Create appropriate conditional statements
- Use modular arithmetic
- Use lists to store and manage data
Crack the Code is a code breaking game. Each time you play the game, a 5 number code is generated. The sum for the five numbers and the number of odds is displayed on the screen. Each time you guess an integer, the program searches through the secret code for a match. If a match is found, that space is revealed on your guess code. Once you have guessed all the numbers correctly, the code is displayed as well as the number of guesses it took to break the code.
This project is aligned with key AP Computer Science Principles Standards. For additional Computer Science resources, visit the CS Resources page.
Vernier EasyData,Vernier EasyLink and Vernier EasyTemp are registered trademarks of Vernier Science Education.