Minesweeper on my calculator, plus a Knightsweeper world record
Vložit
- čas přidán 6. 07. 2024
- Play it here: htwins.net/minesweeper/?v=2763
(Chance the number after the v to clear the cache)
I guess these are the Knightsweeper World Records:
Beginner single: 0.00
Beginner average of 5: DNF
Intermediate single: 13:56.25
Intermediate average of 5: DNF
Discuss all Minesweeper stuff in the #stem channel here: / discord
Music: "Garden Music" by Kevin MacLeod at Incompetech
incompetech.com/
The Lifted - Mr. Sandman (feat. Ashliann)
• The Lifted - Mr. Sandm...
"Showtime" by Reaktor Productions
from PremiumBeat.com
www.premiumbeat.com/royalty_fr... - Hry
oh that's not code, that's reddit.
shineethebestofall reddit has value too!
same thing
i am just puting this here so it can be on the top oof lol, but why i am commenting is because that line that you inter your name in is the same line that roblox uses for naming clothes that you made lol, i know because it is saying the same stuff under it as the stuff i put in as clothes for roblox lol. and as always my comment is way to long ::::DD
@@ptato3010 eeeeeezes2azźzzzzzzź
@@yinan02 77i78
In high school I made a game where you control the letter 'U' and have to catch falling letter 'O's falling from the top of the screen. Your limitations in TI Basic, coupled with the fact you're usually programming in the middle of math class, gives a charm to these little programs. I'm impressed by how sophisticated your minesweeper is!
*Going through endless rows of coding:* "So, minesweeper's a relatively easy game to code..."
:c
Geometry Dash zVerse it is. I compared to coding many other games using TI basic- I've done it before... a couple months ago at the beginning of 7th grade
Lines of code don't actually matter, the conceptual difficulty does. I think you can easily plan out the mechanics of game in your head without any coding, and that's the meat of the problem.
トカゲの財団 exactly
yep i've made it in scratch it's really easy
Easy compared Minecraft
Last year, my teacher banned me from using my calculator during tests because every lesson, I'd make a program that makes whatever we learned easier to do. All my friends were blown away by my programming "skills" even though I'm a bad programmer.
can i be you
Spark Chicken
Ohohohoho I really don't think you'd like to be me.
It's not a question...
*[Maniacal laugh]*
if you can read code, you are GOOD compared to the average person
even more true in school
Liam Tolentino I programmed vector math and things on my calculator
5:21 "It will continue to clear that land- " "AUTOMATICALLY"
Had a great laugh from that. Thank you.
Nincadalop Same 😂
Nincadalop I didn't notice that the first time around
Haha
The website ran out of memory while playing insanity! I was around 37 minutes when it froze and I was about to right click a sqaure and bam, out of memory.
You may want to PM or email him about that bug...
I made a "game" on my calculator that found the largest prime factor of a given number
I used to do this manually after a test I was so bored
im pretty sure that solving problems like that is the point of the program feature.
Hjerpower I made one that did all the trig functions (and their inverses) that the calculator didnt have buttons for, my teacher made me stay after and put it on all calculators. Now the whole math department at my old high school uses my code, I got no credit for it
Ian Easton you should have programmed your name into it in every copy to insure that you made it
@@deserted3434 Sadly, if they were malicious, they could have easily erased that part too
I had one of those calculators. Every time we got a new formula to memorize I would just put it into the calculator as a program for use whenever it was needed, because we could use our own calculators on tests. It's not like I kept it a secret though, everyone was just chill about it.
I wish I could be as smart as you are :(
Daniel Petri never too late to start coding, go on code acadamy, treehouse. try starting with something like pythob or ruby,
Thanks man. I do code a bit in Python and just started java. I'm gonna start CS in college and Cary inspires me :D
have a happy new year. cheers
same, same
Daniel Petri Try learning havascript, its probably the most useful thing you can learn now days
but he is asian, you can't be as smart as he is...
At my uni we aren't allowed more than really basic calculators for our
classes. Most of the stuff we do is either symbolic (exact forms,
proofs) or dead simple to do in your head. The saying that you typically
don't encounter numbers larger than perhaps 5 as a
physicist/mathematician is rather accurate.
And when it comes to actual computations there is always Matlab, Python, Mathematica, Octave or whatever you prefer. Doing computations on a calculator is just painful in comparison...
Alcesmire
Math major here, and my higher level math classes don't really use numbers lol. But my calculus, physics, and statistics classes still need calculators. I guess universities are different!
😮😢😅
😮
Ooo8
I was hoping for the calculator code so i could play it at school.
Why not make your own? Just learn how on some tutorials or something if you get stuck.
Insanity Cubed because its absolutely tedious without nice syntax, proper indentation and scrolling
Tech media [MGTOW] are you one of those geeks that thinks that they are a nerd? because that was such an unnerdy thing to say, but you clearly understand how it works.
anyone who has programmed before will understand what I'm talking about. And anyone who hasn't will have the biased mineset, a perfect example being yours.
Tech Media [MGTOW] I've programmed before python, logo, c++ once, and ti-84, what I am doing on the ti-84 is progressing very slowly. I shouldn't have made that last comment a little less dickish and a little more funny, or nonexistant, sorry.
6:25 You didn't have to guess, you had a legal move at the top with the 1/2
Landon Kryger isn’t that a 50/50 chance as well or am I just bad at minesweeper?
@@slep1654 1-2-1 rule means put flags in front of both 1s, and it's guaranteed to work. And you might be thinking that it's not a 1-2-1, but because of the flag next to the 2, it behaves like a 1, since it only needs one more mine.
My dad used to be pro at minesweeper, he could beat expert mode in 80 seconds.
I can beat it in 5-10 minutes.
ossi_ if you find the cheats/exploits, you can beat expert in 2 seconds.
The EnderBrine but that's not really beating it, is it?
72 seconds here. ^^
ossi_ my record is 35.23 seconds
Thelegend27 I applaud you.
Hey Cary, it would make the other modes much more fun and accessible if when you mouse over a tile, the tiles in its "neighborhood" are lightly highlighted in blue. For example, in knightsweeper, if you hover over any tile there would be a highlight over the eight tiles in the knight configuration from it, that are considered when the mines for that tile are counted.
Then, it would be instant and intuitive to know, if your tile says "3", where those 3 mines *can* possibly be.
Yes, in Windows, that, too, is possible, if you press both mouse buttons at one time.
That's impossible on that calculator. It's black and white, with no shades in between.
Dijek Japen I was talking about his online program, not the calculator.
Oh, sorry.
Dijek it's possible to fake greyscales but it's impossible without programming in ASM (for speed reasons)
basically you flick the tile on and off fast enough so that it seems grey
I made a game its called taking a calculator with the number 14 on it and flipping it upside down
I prefer 5318008.
Sobsz you dirty scrub
53045 3080
shoes eobo?
no. OBOE SHOES
I got a TI-92 for Christmas :)
It is the sickest calculator, like, this is the kind of calculator that makes the SATs and ACTs and other standardized tests have to state to bring an _approved_ calculator, because the TI-92 is really really powerful.
Honestly, the only reason the TI-92 isn't allowed in the SAT is because it has a QWERTY keyboard. The SAT (but not the ACT) allows the TI-89, which has similar functionality but a more conventional layout.
Here's a tip: Downloading Ti-connect will allow you to backup your calculator's memory. I do this frequently
CubeBag as well as other peoples code from the internet
I believe he mentioned that he didn't have a connect cable?
@@often_nie TI 84 plus's have the standard mini-usb port. Very common to find cables with such ports
@@karlwheeler9076 he is using a Ti-84 Plus silver edition, from many years ago, I thought those just had that port that looks deceptively like a 3.5mm headphone jack
@@often_nie No, TI-84 plus silver editions have mini-usb [1]; only older generations like TI-86 have the older headphone-jack-like connectors [2].
[1] en.wikipedia.org/wiki/TI-84_Plus_series
[2] www.ticalc.org/hardware/cables/#3
Times programing in qqtimer.
You're my favorite kind of person.
could you please publish the calculator version? I need to get through the boring math classes, too... please, I got really hyped for it.
Tuna Alert GZ download ti- connect on your computer and find one online, plug it up to your computer using a PS3 controller charger and download that shit. Itll be better than his janky code
@@IanEastonIsJesus saying that like all the other highschoolers and even many of the adults writing games for calculaters in TI's language aren't just as likely to have janky code. Noting the fact that he didn't even really show us the code that comment kinda came outta no where lmao. But yeah I agree just find a different version but don't expect it to not be janky if working totally fine in a video showcase minus an accidental line deletion is your standard for jankness regarding a program written in TI basic of all things.
I wouldn't have replied to a 2 years old comment but you did to so whatever lol.
@@Chris-io2cs I programmed snake halfway, gave up on the collision loops, and my code is barely staying together
@@official-obama I recommend trying again as snake is actually a pretty good learning lesson if done right. Especially doing it on a limited resource machine. For collisions you should be storing the entire 'tilemap' and whether there is part of a snake present there in some 2d adressable way (ti already has matrixes but you can do it in lists using multiplication as well if you prefer) rather than looping through a list to compare if the head of the snake has been hit. In this way we don't really have a 'collision loop'
Also if you aren't already it is essential to use a cyclic queue to store the snake positions in addition to your tilemap (which you can just google if you don't know what a cyclic queue is). It is this queue that you will reference when you need to delete the tail as it moves. It is not necessary for any other reason.
So if you aren't already doing these then definitely implement them b/c it removes a ton of looping and reduces time complexity significantly. In computer science we call these O(1) operations since their time does not scale depending on how many times it needs to loop. Operations that require traversing an array would be O(n) and snake can be made entirely without them.
You should probably be able to implement an entire game loop recognizable as snake in
1:00 "Yes, I typed in these math equations because I don't know the answers."
.
9+9
@@ceddyd i don’t know!!
I had a calculator like that i tried to create a game like flappy bird but i accidently created gta 5
We at Apple were wondering, what could the world possibly need now that we have fidget spinners? well, we have found it. Presenting the iCalc, with a 4Mhz processor and the ability to run GTA 5 for those times when you just couldn't give more than negative amounts of shits about maths!
less than*
What?
Revvilo starting at $1200
John Plays WHAT!?
Hey carykh, what college course did you take?
the book said 2015 for 12th grade, so he must still be in university
I really got hooked on Minesweeper a while ago, but now I've found out about this Knight's paths thing. Really need to try that out as well, thanks.
I love your videos! keep up the good work! :)
automatically
This is the best comment I've ever seen on any website ever.
5:21 for any unintelligent gnomes.
fun cubing Thanks for giving timestamp. The way he said it there sure did sound weird.
Just please don't call us unintelligent gnomes for not remembering a specific second of a 20 minute video when reading a single word comment repeating the thing he said in that one second
TBH I remembered it :/
altouna ye but not everyone will, and a lot of relatively intelligent gnomes are likely to forget
I just realized that this is the first video I found you from, then I found the evolution simulator videos and said goodbye to sleep that night.
Why don't you just put a world record system on the site and allow people to submit high scores.
People could lie
They, in order to submit their scores, would have to take a photo with their high score and a personal watermark. This would be completely safe and cheat-free.
No... I certainly did just solve it in negative seconds.
I think what she actually means that if they get a high score, the site asks them if they want to have their record on the site.
inspect element...
"Try to beat that!"
Cary's last words of 2016
i stumbled upon your channel like three hours ago and since then you've become my inspiration
im a high school senior and i can only make "Hello world!" appear onto a screen using python. one day i'll learn how to code games into my goddamned TI-nspire
Please give us the minesweeper for calculator
10:21 Cary gets PG-13
Hahah lol
When will TWOW 24 come out?
nice how you used a speedcubing timer on your laptop, I see you are a man of culture as well. I also like how you took the calculation of the ao5 from speedcubing and the square-2 tab ;)
You should add a high score feature, so whoever plays the highest scores will be on the website.
Franklin Hunt it can't connect to the internet... opps it's a gosh darn calculator what were you expecting??
@@edwardfeng1787 ....on the website
Lol. I'm glad I wasn't the only one doing this. People were looking at me as if I was crazy for programming on my calculator. I ended up writing a 2D RPG engine with a the corresponding map editor for it :P Good times....
ayo do you still have the code for that? (if you even read this after 5 years)
@@taube637 haha why are you watching 5 year old videos in the first place? Probalby procrastinating if you would have to guess?
And unfortunately no, I dont't have the code anymore. I lost my calculator :(
Holy shit, if I had calc like that, what things could have I done in math classes!
Any chance of a download for the program itself? I'd like to have this on my own calculator as well. :b (I believe you can use TI Connect or TILP to transfer files/programs from the calculator. With the modern software, you don't even need a special cable. A regular USB Mini-B cable works fine in my experience.)
awesome future bass on background!
Why didn't you show all the code? I wanna be unproductive too!
You've inspired me to make my own minesweeper game. In processing.
Aah sweet, this brings back some cool memories! I programmed Snake on mine back in school, though everyone had TI 83's back then :)
Do Texas Instruments calculators have multi letter variables? Because I know Casio only has the 26 letters and it is annoying because I can’t make snake.
You added the mine effect!
Wow. It's weird to watch this video since this is the reason why I love minesweeper and TI Programming. Thanks Cary.
what about those other modes on your calculator?
mowhawkarrows It would need extra ram for it, I think.
hack the planet!
Did you know, if you know Z80 assembly you csn give your calculator games soundtracks by outputting samples to the data port since it's an audio jack :P
Sweet
Wow, this is amazing!
Once when I was bored in math class I wrote a program where little thetas, controlled by neural networks, have to get from one side of the screen to the other without getting stuck behind a wall. It takes forever but over time they evolve. I once left it running in my locker for about 2 hours and by then every network in the population was making it all the way.
Loop over was here from the future!!!
This video is awesome!
I'm glad to see that Cary had a xkcd bookmark.
Enjoy that record!
Show other games on the calculator please.
I like how you use cubing terms like sub 2 and dnf and the method of making averages and pb
Could you somehow still upload your program for the ti 84 so I can analyse it (and copy it to my calculator). And your minesweeper page is very nice, but maybe material design?
O.O
Cary!
You should make the Javascript version able to have editable rules so that us people can create our own tile rulesets like you've hardcoded, and be able to share codes with other people to directly load in a custom preset! I think that could be really neat.
I would have suggested to include a hexagonal gametype, but I see you already did :D
why is this so interestiiiinnng
looks alot like a Nokia 3210 but with a better screen and coding capabilities.
What did you use to make it into a website? can you tell me to help me out I'm a new programmer.
Do you have any background in cubing? You took the Ao5 the same way, as well as using qqtimer, which just makes me think you may, either way, superb job, I now have my time waster go to in class, lol
This inspired me to make a normal mode minesweeper from scratch on a newer calculator with a bigger screen, so it could look even prettier and cooler, whilst trying to keep perfomance high, although it can handle more, so it would still probably have more performance than the calculator used in the video, very cool video nevertheless
All finished, even has a function to clear adjecent chars if u clear an empty char (aka 0 bombs around it), very performant, and a nice end animation (skippable) for satisfaction
hi Cary!!! I love your videos and am greatly looking forward to participating in two season 2! :)
Also Cary. I have a challenge for you. Can you create a 3D minesweeper? where it shows you the number of mines in the surrounding 26 squares?
or cultivate an AI to play the regular game! :)
Does it work on TI-82 / 83 ? That's what we have in France. I remember playing Snake in "Seconde" class (10th grade in the USA) but I eventually removed it because it didn't work normally.
What program are you using to make the JavaScript version?
what ti calculator would you recomend right now? (it can be expensive)
new @ AGDQ: speed minesweeper
Just out of curiousity how does the display and interaction work? I got fairly far into programming my calculator but never could figure out how to do that and the text scrolls buy too fast for me to figure out what you're doing.
I'm really liking the taxicab mode :D
What if instead of generating the whole board after the first click, this calculator version randomized the board before the click and the first turn was a cue to shift the spaces such that what was clicked was not a bomb? Would that be feasible for the calculator to compute in order to guarantee no bomb on the first turn?
I saw a rubik's cube in the background of one of Cary's videos, then looked up all averages in the competitions of cubing, it turns out Cary got a 13.15 average to any of you cubers out there. With his best in the competition being 11.69. Congrats to Cary on his amazing cubing skills!
hadnt to guess at 6:26 bec at the upper numbers there was a 1 touching 2 of the tiles of the 2 right under the 1, which means that in those 2 tiles there could be only 1 bomb, and the other bomb (of the 2 under the 1) must be at the third tile from the top, therefor having all the bombs of the 2 in the third row and thus allowing you to proceed
I think blind right is not being able to see to the right if the tile, but all other directions have no affect.
I think directional is not being able to see the corners.
That's a badass calculator!
What is the ME column in the leaderboards? Also can you make a way to suppress the zero times? The hackers are taking over!
Can we get a direct download of the calculator program? I have the TI connect CE app on my pc that allows you to transfer data to the calculator or from the calculator to the computer.
Carykh, The Gaming Channel, Including Free Knowledge Along The Way!
Considering all that you do, you may want to try making a neural network that knows all the revealed squares within a 5x5 area, centered around the perspective, that scans minesweeper playing it (perhaps train with random 5x5 areas with random squares revealed, some hidden.)
Recently the controls of Minesweeper in the puzzle app I use got improved and yesterday I solved a 16x16 Minesweeper with 99 mines (more than a third of the board) in 95 seconds. I achieved the meaning of life.
(The app can't actually generate interesting boards with many more mines, because at some point all the mines group into one place.)
what code does the ti-84 use/ what should i learn to program on it?
Ah yeah, the good times when I played chess on my calculator
Awesome. Remember windows minesweeper? Thx for the vid!!!
yes! Someone else who programs all math\physics class. But sadly my teacher has to clear my calculator's memory every test. How do you make a accurate timer and see the tiles beside you. I created a crude program to guess anny number.
Is there any way you can post the code and explain it if you have time to. I am starting out with programming and I want to do a modified version of this
The things boredom makes you accomplish... well done
Can you use mouse up instead of mouse down for a click?
YK L or onmousemove()
this video was satisfying
I would be able to do this, but I have one problem, I cannot find the arrow, where is it?
Hey Cary, can you make JavaScript tutorials? For beginners? I always wanted to do things like you do.
how did you make it where it tells seconds or is it just how many times a loop is executed?
Playing your minesweeper game on htwins was fun, you taught me how to play the game too. My highest is 5:47 on calculator
u shud make a GoL (Game of Life) simulator thingy where you can change the rules of the particles or whatever they are. i would love that!
Fun fact about TI Basic: Comparisons (like 1
You should totally make videos that teach us how to do some coding on a ti-84 because I've tried and had some success with a few basic things but I've forgotten most of that and couldn't ever do anything that was really all that interesting lol
Could you somehow share the code you used so other people could implement it into their own calculators?
Whyd you use an input function for the starting menu system instead of the ingrained menu( command
I will be in college next year and we never used those graphic calculators
so
did you do these intense speed-sweeps and have your score notebook out in class?
What are the best videos to learn how to program? or can you make one?
Daniël Kuiper look up Daniel Shiffman... he does tons of java/javascript tutorials
OMG did I see loopover in that program list?
Dude. I love all of these gamemodes. Save for swath, all of them have so much thought into how they'd affect gameplay! And in the end, Swath might be the hardest one, because you can't tell what's going on.
Hmm... I saw loopover on the list of programs! Release calculator loopover ever?