Mastermind CE is a solo game I've been working on periodically over the past few days, and I'm very happy with how it turned out. Based on the popular board game, it's a genuinely fun way to pass the time, and I can't wait to actually start using my brain in math class for once.

Download here

Keep an eye out for updates - I'm currently working on a dark theme with a custom start-up screen.

Please don't hesitate to leave any questions, suggestions, bug reports or criticisms in this thread.

I'll be sure to give it a try!
If you look carefully at the source code, you might notice this rather odd line:

Code:
expr(toString(1/3int(1+inString(toString(ʟC),toString(ʟB(X→C

Now, you're probably wondering why it starts with expr(toString(. It does because, for some unfathomable reason, without expr(toString(, it thinks that 1 is a decimal. If you have any idea why that is, please tell me, because I am CONFUSED.

This is literally descibed on this page as something to watch out for: http://tibasicdev.wikidot.com/fpart
MateoConLechuga wrote:
This is literally descibed on this page as something to watch out for: http://tibasicdev.wikidot.com/fpart

I never knew that. Thanks
Man, that's annoying!
Very cool, I've been wondering if a calc version of this game exists anywhere.
I'm currently working on solving a bug regarding scoring a guess that contains a color more than once. The next version will include this bug fix, general updates and optimization, and a dark theme with a custom startup screen.
ERR:UNDEFINED. A program is missing.
DJ Omnimaga wrote:
ERR:UNDEFINED. A program is missing.

Instead of including a Celtic CE checker in the beginning of every program, I made a program called Cθ that does so to save storage. I planned to include it with the original file but forgot to attach it. It's included in the latest version.
Oh I see now, I didn't know this used Celtic due to the subprogram name. I deleted the line of code now and I like the speed at which the game is drawn. Smile
DJ Omnimaga wrote:
I like the speed at which the game is drawn. Smile
Glad you like it!
I resolved the scoring bug and aim to upload the fixed version at some point tonight. I think I'll upload the dark theme later as there are a couple more features I'm considering adding, including a two-player mode, saved statistics, a variable amount of colors (there are currently seven), and theme customization. Please let me know if you're interested in these features or would like to suggest some others.
Fixed version submitted and awaiting approval
I made a startup screen and menu that I'm pretty satisfied with. I might refine it further, but I think I'll work with it for now. The current features I'm implementing are saved stats and a customizable color list.
I've been working really hard on the menu. My goal was to make the game look like it was coded in assembly. The startup/menu program is currently separate from the main program, and I think I'm almost ready to combine them. I've put a lot of time and effort into getting everything to work, so I hope it turns out good.
The program is now fully functional, and I revised the scoring system with the help of a friend of mine. I hope to upload the new version after a little bit of "optimization" (I have a bad habit of using variables as constants to save space), some more testing, and some small cosmetic changes. It'll include the following features:

•Custom startup screen, menu and UI;
•Customizable background, board, accent and text colors;
•Saved statistics (i.e. best time, fewest guesses, average time, average guesses, games completed and games quit); and
•Variable color list (4-10, default 7).

The file will include the main program, an AppVar, and a separate program that ensures Celtic CE is installed. Currently, the program isn't the most responsive, so I might update it by replacing getKey with det(73 if so requested. I greatly appreciate feedback, so if you have any other ideas/features you want me to implement, please let me know.
If you've been following my progress updates, you've probably guessed that I replaced getKey with det(73 despite the fact that it wasn't requested. If you did, you would be correct. It still isn't the most responsive, but it's fine. I think the Celtic graphics functions execute faster with a number/variable as the color instead of a list element (i.e. det(16,X) instead of det(16,L1(1))), so I'll look into storing the list elements in variables at the beginning of the program.
Coming soon!
Mastermind is pretty much complete! This is the largest program I've made by a considerable margin. The one unsolved half-issue is that the calculator likes to fall asleep while the program's running. I've noticed the same thing with TIny_Hacker's Spriter, so maybe it has something to do with det(73? I have no idea. It's by no means a big deal, though, since the program continues running from the same line when you turn the calculator back on; it's just a minor inconvenience that I personally don't really mind.

I aim to upload the program tonight after updating the ReadMe. I've worked very hard on Mastermind, and can't wait to see what you guys think!
The issue with the program randomly turning off affects all basic programs. TI--
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement