This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - cyanophycean314
Pages: 1 ... 19 20 [21] 22 23 ... 25
301
« on: January 08, 2012, 10:17:21 am »
Yeah. My code was basically the same as your guys' except I used a repeat-until loop. The problem with this is that it doesn't move the player's tile until after the AI is chosen. In the movePiece function, it'll also move the AI Piece. So it's basically directly tied to your one keypress, then AI goes, then it's your turn then the screen refreshes.
Jim Bauwens - Could you share your pause function anyway?
302
« on: January 07, 2012, 05:25:38 pm »
I see you added the image in the background.
Does anybody know how to do a pause function? I would probably have to change quite a bit of code to get it to work...
303
« on: January 07, 2012, 01:28:22 pm »
Ok. Since I'm too lazy/frustrated to figure it out, I'm releasing my source a bit earlier than planned. So far the only update is that white can move first in 2 player.
Do you think I should leave the picture in? It takes up a lot of space, but it still looks pretty nice...
304
« on: January 07, 2012, 01:25:31 pm »
Our school has mandated that everybody in all higher math starting with Algebra II, get a Nspire CX CAS. That's how I got mine, but I still use my 84 in math. The Nspire is very slow for typing things especially for pretty experienced 84 users. Pressing buttons to find tan or pi or other symbols is not fun. The touchpad sensitivity is on the whole very bad. Don't get me wrong. I still love the Nspire! Programming/Gaming ftw!
305
« on: January 07, 2012, 01:20:32 pm »
The parallels between Grammer and Lua are unnerving.
306
« on: January 07, 2012, 12:41:32 pm »
I just checked, it's around 4.
307
« on: January 07, 2012, 12:34:12 pm »
EPIC FACE PALM. Wow. That really sucks. Wow, that looks very nice o.o What is the size of the program and whatnot? (I only own TI-84s and a TI-89).
It has that picture in it so, it's around 113 KB. Without it maybe it'd be around 3KB? I wonder if that one image is worth it... What do you want to do anyway ?
I'm trying to get a pause in between the choice being made and the action being shown, but those are intricately connected, so I'm just trying to stop the program flow for a while.
308
« on: January 07, 2012, 12:11:04 pm »
I'm trying to use on.timer() to pause. How would you do that? a = true timer.start(1) repeat until a == false on.timer just sets a = true, but it still gets stuck in infinite loop.
309
« on: January 07, 2012, 12:05:46 pm »
Another checkers program! Nice!
310
« on: January 07, 2012, 12:05:04 pm »
The 89 probably has a good CAS and a cheaper price. It has more programs and better support. If it's more math, I would go for the 89. I hate my Nspire for math. The buttons are in such weird positions! I dislike the touchpad and the bad button springs. I stick to the 84 with math, but for a CAS you could get a 89.
Programming on the Nspire is another story. I love Lua. Ndless will soon be coming out (hopefully), so C will be available. The GBC emulator for Nspire will be very nice for gaming!
I would probably get a Nspire just for the gaming, as my parents do not approve me carrying around gameboys and DSs.
311
« on: January 07, 2012, 09:33:33 am »
Good job, epic7! The boring testing is what you have to do sometimes.
312
« on: January 06, 2012, 09:49:30 pm »
FillRect/FillArc isn't that hard. You just have to keep on trying different stuff on the emulator. Good luck on the project!
313
« on: January 06, 2012, 09:45:50 pm »
I have to use task manager to close out of the program and then restart the program, I should probably try to implement it better.
314
« on: January 06, 2012, 04:57:24 pm »
Does it not? It should... Will reexamine. Btw, while trying to implement the pausing function, I have crashed the emulator twice.
315
« on: January 06, 2012, 04:33:35 pm »
Yeah, for the circles are fillArc. Is there a better way to draw circles? I'll add a pause. Thanks! Though the AI is failed against the tests against my friends at school. They win every time.
Pages: 1 ... 19 20 [21] 22 23 ... 25
|