http://www.myPHPnews.com is a new site I just registered which should contain more information in the future about its purpose. I’ve been staying up late working on the php and mysql code for the project. It is one of my first php projects to implement a mysql database. I am very pleased to see everything work well so far.
|
I have updated my Tic-Tac-Toe game to version 2.2.2! There were several errors in my code, mostly logic based (because syntax wouldn’t have let the program run). The first obvious goof was the left out message that the game had ended and there was no winner, thus resulting in a tie game. So I added that code in a few seconds and posted the new build online, however that created another problem! This is where my logical errors occurred, after each move I check to see if the game should end. If the user only had one option left, but it would result in him winning a message would still pop up saying “Tie Game!”. This was brought to my attention quickly as a few of the kids in my Computer Science class downloaded and played it. This really bugged me, having such a obvious mistake but not being able to fix it. So tonight I sat down to re-write how I held and removed the objects from play. That created more issues and I began to make the game more complicated then it had to be. So I went back and removed everything I had just updated, and then I figured it must be in the check method! I studied it and went line by line. WOAH, right in front of my eyes I saw the stupid mistake! After I check if the game is over, I have code saying what to do if the game is indeed over. Right underneath that I had placed the tie game code in its own if statement. What would happen is the user would have that one option let and when they clicked it the check code would run, see that they won and being to run the first if statement because the game is now over; however after it completed the statement it would see that the user(s) are out of options and would then display the message. I could have fixed this two ways, the first was just adding an “else if”. The second is checking to see that the boolean game_over is true && the Buttons ArrayList size is 0. *UPDATE*: After I did all that work I found another major bug, but have no fear version 2.2.3 is out which fixes them!
So after I completed that I was in a Java GUI mood and decided to go back and remake some of my old applications, the one in particular is the Tic-Tac-Toe game. To the side is a screen shot in the current stage of development. UPDATE: Finished the project fairly soon, you can get the file here. I was thinking about how many 1.1.3 problems there have been, and how people can don’t always use common sense. Recently Post have been going up at hackint0sh about Installer and other Apps that just will not work correctly. These are just a few things one might try if your stuck. 1. Is the App made for your firmware? 2. Are all the Apps broken or just this one? 3. Look in more than one place for help. Many times I have come across one question that can easily be solved by visiting another website. Google your problem and see what you get, for instance “1.1.3 iphone installer not loading”. I found that saying iphone even if you have an ipod makes no difference. the firmwares are basically all the same (esp. the 1.1.3 as I updated from a iPhone firmware) 4. If you installed the App manually make sure you have the right permissions set on the folder. Some sites that might be handy are: Today I had a 40 minute conversation with my teacher about the current iPhone/iPod firmware and the jailbreak. We both had successfully upgraded, he is on an iPhone and I’m on my iPod. The following are just some of my thoughts after the conversation, and forgive me if I ramble. I had a lot on my mind and I have thought about these topics a great deal so things mash together. I. 1.1.3 Jailbreak / Users More and more people are getting iPhones / iPods which should be a growing concern. I am the tech guru at my school. From iPods, and PSPs to Computer I am asked questions everyday to which a clear answer always pops into my mind. Now a few people have come to me and asked if I would hack there iPods. I agree and do it to learn of course, but then I steer them away from me and nudge them to work on it. This was fine when 1.1.1 was out, that was an easy firmware to hack and fix; Now we have 1.1.3 - but who wants it? I upgraded from a 1.1.1 (after a restore and a jailbreakme.com visit) but will others be able to do this? The number of users who are experienced are far less then those who just know “installer puts files on.” In fact today I had a kid come up to me and say “I’m going to restore my ipod and put Installer on through itunes”, I said what are you talking about? How is that possible? He assured me that it was, so I nodded my head thinking “well good luck with that.” He did not listen to me and I will not help him when he comes back to me. - more than one process After my ibrickr-jb113 processes I noticed several 1.1.3 update packages. Why are so many being flooded into Installer? Each version essentially does the same thing. The first jailbreak (1.1.1) had one main method (jailbreakme.com) and next 1.1.2 also had that one main method (touchfree), so why do we have about 5 methods all being thrown at the public this time? II. Firmwares So far all jailbreaks have gone through that 1.1.1 firmware. When we update to 1.1.2 (via touchfree) we have files left behind, but how many users actually looked through the files and noticed this? Now 1.1.3 goes through 1.1.1 or 1.1.2, but from what I have read online people are pushing to update from 1.1.2. Now these users have 1.1.2 and 1.1.3 files left behind unless they know what they are doing. Jailbreaking should not go through this single firmware. You should look for flaws endlessly in the current firmware and last resort make users go through an older version. The Sony PSP has this cat/ mouse game and they are constantly finding methods to hack, and you can not just shift + ctrl restore. I am not a master at the iPhone/iPod… (yet). But I know my way around and I am learning almost everyday about the firmware and what parts control what. I ssh in and go through each folder trying to decifer what the purpose is. I think the dev teams should take a long break now before firmware 1.1.4 and do the same, learning and looking for new methods of jailbreaking. So I received a broken PSP today from my friend. His cousin had throw it at the wall for some reason and he asked if it was possible to fix. I told him it could be possible to fix and if I had time I would look at it. So I opened it up (5 screws in total) and looked at the problem area. The main “home” buttons on the bottom were not working, which is just home, volume, start and select. I have previous opened PSP and explored them to gain knowledge on how it worked, so fixing this only took a few minutes. First I concluded through some tests that the connection to the main board was not working correctly. Next I wanted to make sure it was the cables on the bar holding the buttons and not the connection on the board. That was easy and having an older PSP that was torn apart from those past experiments I just replaced the parts and screwed it back up. The PSP now works like new. I was a little annoyed after all that work. 15 - 30 min troubleshooting and fixing all because some kid threw it against the wall. I did not ask for any money for fix this, I did it because he is my friend and I enjoy the work. But I wondered “if they threw it once, why did I spend all this time fixing something that obviously has no value to the owner.” I guess thats a life lesson for me… Also known as “the peg game”. Well this is my new computer assignment. So here are a few notes of mine so far:
The following number in bold shows a spot on the board and where that spot can move to: |


Entries (RSS)