Race Track Simulation - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: HP Prime Software Library (/forum-15.html) +--- Thread: Race Track Simulation (/thread-10859.html) |
Race Track Simulation - Eddie W. Shore - 06-03-2018 03:40 PM Link to post: https://edspi31415.blogspot.com/2018/06/hp-prime-at-races.html ? (Trumpet Sounds) ? The program GAME_RACE simulates a race between seven racers: Apple ѽ (Decimal Unicode: 1149, Hexadecimal Unicode: 47D) Knight ♞ (Decimal Unicode: 9822, Hexadecimal Unicode: 265E) Spade ♠ (Decimal Unicode: 9824, Hexadecimal Unicode: 2660) Club ♣ (Decimal Unicode: 9827, Hexadecimal Unicode: 2663) Heart ♥ (Decimal Unicode: 9289, Hexadecimal Unicode: 2665) Diamond ♦ (Decimal Unicode: 9830, Hexadecimal Unicode: 2666) Spike ✥ (Decimal Unicode: 10021, Hexadecimal Unicode: 2725) To watch a race in action, all you have to do is to run GAME_RACE. Betting not included. ? HP Prime Program GAME_RACE ? Code: EXPORT GAME_RACE() [img]sample symbol race by Edward Shore, on Flickr[/img] |