Monday, July 3, 2023

Python: Five-Letter Scramble Game

Python:   Five-Letter Scramble Game








Scripts



scramble.py:  

Python 3


Calculators:

Numworks

TI-83 Premium CE Python Edition

TI-84 Plus CE Python


Python Scramble App:

HP Prime


Download the files here:   

https://drive.google.com/file/d/1wDTGv40HMGnaVoB_00Z9_YM1SQu_mItH/view?usp=sharing


Nuwmorks Page:

https://my.numworks.com/python/ews31415/scramble


Object


The object of the game is to unscramble five-letter words.  You only get one chance, but there is no time limit.   Try to get a high score!  



Note:  I did my best to include to include only words that have one correct permutation, that is you can only rearrange the letters one way.  There are no proper names.   (Hence words like heart/earth, diver/drive, sleet/steel, input/print, scare/cares, etc. are eliminated).   



If you want to know how the code was put together, please let me know.   



Have fun,


Eddie 



All original content copyright, © 2011-2023.  Edward Shore.   Unauthorized use and/or unauthorized distribution for commercial purposes without express and written permission from the author is strictly prohibited.  This blog entry may be distributed for noncommercial purposes, provided that full credit is given to the author. 


Circular Sector: Finding the Radius and Angle

  Circular Sector: Finding the Radius and Angle Here is the problem: We are given the area of the circular segment, A, and th...