This time the homework introduced some more trigonometry and vectors…
Here it is 🙂
Played a bit with one of them:
Author Archives: lucaslongo
Happiness
For Computers for the Rest of You we had to read “Happiness In Everyday Life: The Uses of Experience Sampling” by Mihaly Csikszentmihalyi and Jeremy Hunter.
For me the most interesting aspect of this paper is to show how smart nature is. Basically our bodies trigger happiness in us when we are socializing and doing activities that are not stressful but require us to think and use our abilities – from that we see that nature is basically tricking us into finding a partner and evolving into something better by giving us a “cookie” when we are doing such activities. Another interesting finding of the study was that those who actually spent time studying or reading, which bring on lower levels of happiness, report a higher than average level of happiness when doing sports or socializing proving the concept that you cannot know true happiness if you’ve never experienced true sadness.
The second part of our homework was to think of the logging project we want to work on. I am thinking of the following:
Inclusive Pong – version 1
So the new Pong is almost ready – have to figure out some mouseButton bugs… right now you can only adjust the settings of the game OR play it…
To see the adjust settings game click HERE.
To play the game without adjustments, click HERE.
Will post the final version soon.
As per the documentation I included, here are some features I still need to include:
- Allow user to change color of background
- Allow user to change color of text elements
- Include a color-blind mode – gray scale applied to the entire game
- Allow user to adjust the speed of the ball
- Allow user to adjust the speed of the enemy
- Allow user to play with the keyboard
One more video
The amazing power of water… and firemen for that matter:
http://www.chilloutzone.de/files/07091101.html
Multitasking guitar solo
Video I Stumbled upon – Andy Mckee guitar drifting.
iPhone SIM unlocked on a Mac OSX tested on Brazilian carrier roaming on T-Mobile!
After thinking I would have to go to an Apple store and invent some story that “a friend” messed up with my iPhone and it does not work any – I want a new one – I was able to unlock the iPhone for any carrier!
It is a “painful” process but with the help of some sites and UNIX knowledge it is done.
- To start off with, make sure your iPhone is updated by iTunes (check for updates).
- Then you have to “unshackle” the iPhone. I used iFuntastic. Get it here.
- Got through the unshackle process.
- On the iPhone, run the Installer app that should appear on your home screen and install the following three applications, in this order:
- Community Sources
- BSD Subsystem (might take some minutes)
- OpenSSH
- Term vt-100
- Back on your computer download the following files to your computer – open the downloaded folder.
- Using iFuntastic’s File Manager, navigate to the /usr/bin/ directory and copy the following files to that directory:
- iUnlock
- ICE03.14.08_G.fls
- nor
- minicom
- bbupdater
- Navigate back to the /usr/ directory and now create a new folder called local. Within the local folder, create a new folder called etc. So you should have /usr/local/etc/ in your iPhone’s folder/directory structure.
- Back on the iPhone, go to the Home -> Settings -> General -> Auto Lock and set it to Never (this is so that the WiFi connection does not drop during the process)
- Now you have to run stuff on the iPhone. Open Terminal (Applications -> Utilities -> Terminal) and SSH into the phone by typing in ssh root@10.0.1.5 (this is your iPhone’s IP address – to find what it is go to Settings -> WiFi and click on the blue arrow next to your WiFi connection). The password is dottie. Then type in the following commands:
- cd /usr/bin/
- chmod +x bbupdater
- chmod +x iUnlock
- chmod +x minicom
- launchctl unload -w
- /System/Library/LaunchDaemons/com.apple.CommCenter.plist
- iUnlock ICE03.14.08_G.fls nor
- Once that finishes, type in minicom
- After the application starts, type in AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 and then return.
- No results were printed out on my screen but it worked.
- I was not able to quit minicom so I just exited the entire Term-vt100 by pressing the Home button and entering Term-vt100 again.
- Type in the following command in Term-vt100
- launchctl load -w /System/Library/LaunchDaemons/com.apple.CommCenter.plist
That did it for me… put in my Brazilian SIM card from TIM and there I was roaming on T-Mobile’s network… Made a call and it worked. My AT&T card is also working – tested a call, SMS and the EDGE network.
Ufff!!
More information about this entire process with more detailed instructions and things to do if something goes wrong: http://iphone.unlock.no/
Also – this seems to be the wiki with the most up to date information – http://iphone.fiveforty.net/wiki/index.php/Latest_Progress_Report – there is a GUI app called anySIM that they released but it did not work on my phone – had to go the manual way described above.
Earth Clock: Environmental Stats in Real Time | Your EcoSource Blog
Inclusive Pong Documentation
For “Inclusive Game Design” we had to implement changes in the game to make it more accessible for people with disabilities.
I’ve identified the following problems with the original game:
- PROBLEM: The colors, shape and size of the items on the screen are not the best for the visually impaired. Reference/source:
- SOLUTION: Add color and size settings to the game, as proposed in the following article:
- IMPLEMENTATION: I created a settings menu that allows the user to:
- Change the shape, color and size of the paddles, ball and text.
- Change the overall color scheme of the game for the color blind.
- RE-BALANCE GAME: I made the computer slower when the paddle size increases, forecasting that the bigger paddle size indicates some kind of motion impairment.
- PROBLEM: The speed of the game can be an issue for the motion or learning impaired. Reference/source:
- Designing Usable and Accessible Games with Interaction Design Patterns – Eelke Folmer.
- Interaction Design Patterns – Slow.
- SOLUTION: Allow user to change the speed of the game and skill level of computer, as proposed in the following article:
- Interaction Design Patterns – Adaptive Difficulty Levels
- IMPLEMENTATION: I created a settings menu that allows the user to:
- Adjust the speed of the ball.
- Adjust the speed of the computer player.
- RE-BALANCE GAME: Adjusted the skill level settings of the computer player and limited how fast and how slow the game can be set to.
- PROBLEM: There is no audio feedback for the learning or visually impaired. Reference/source:
- Guidelines for developing accessible games – Use explicit auditory feedback and rewards.
- SOLUTION: Add sounds that indicate game play events, as proposed in the following article:
- AUDIO GAMES: FUN FOR ALL? ALL FOR FUN? – Sue Targett and Mikael Fernström
- IMPLEMENTATION: Add sounds
- Game begins
- Ball hitting the paddle
- Player scores
- Game ends
- RE-BALANCE GAME: Tested different sounds to see which one would fit the game play.
- PROBLEM: The game can only be played with the mouse which could be a problem for the motion impaired. Reference/source:
- SOLUTION: Allow the game to be played with a different input device, as proposed in the following article:
- Guidelines for developing accessible games – Allow for alternative controls
- IMPLEMENTATION: Added keyboard control to the game allowing the user to change what keys to be used to move the paddle up or down.
- RE-BALANCE GAME: Adjusted how fast the paddle moves with the keys pressed.
- PROBLEM: The game has no instructions or a pause when a player scores which could be a problem for the learning or motion impaired. Reference/source:
- Interaction Design Patters – Tutorial Agent.
- SOLUTION: Provide instructions for the user, as proposed in the following article:
- Interaction Design Patters – Tutorial Agent.
- IMPLEMENTATION: Added a start screen with instructions and a pause screen in between scores.
- RE-BALANCE GAME: Added a counter to start the game once the user clicks to start/continue.
Now have to dive into the code to make all this work 🙂
Computational Forms first homework
Wow – this is a long assignment – but great to learn the basics of C…
Here it is – only a 1/3 done at the moment of this posting – will keep updating it:
http://www.lucaslongo.com/itp/compforms/week1.html