I'm working on a series of videos for youtube based off of those speed painting videos that started showing up a few years ago. I'm going to be making a small game where you have to climb to the top of a tower. In the first video, I set up the basic frame work for the game. The second one is going to set up a basic camera that will follow the player around as he goes higher and higher, and will have all of the floors set up. The third video is going to be mainly about the graphics, with animated sprites and possibly a small particle engine. The fourth video will set up the menu system, as well as a victory screen. The final video will introduce a sound system, as well as a possibly updated control scheme.
Source File:
Friday, June 12, 2009
Speed Coding
Labels:
build,
compsci,
introduction,
preview,
programing,
project,
speed coding,
youtube
Monday, June 1, 2009
Anagram Generation
Heres a simple algorithm I developed to test if a word can be made out of the given letters.
Edit:
Heres a proof of concept for that algorithm. I also made a little bot to type it for you. I'd suggest having a copy of notepad running when you use this.
source code and dictionary file included.
http://www.megaupload.com/?d=A1XVC576
- Fill a 255 sized array with zeroes
- Loop through the given letters, converting them to ascii and then incrementing that location in the array
- Get a word from the dictionary file
- Do steps 1 and 2 again with the word from the dictionary file.
- If any of the locations in the second array are bigger than the 1st, the word is not an anagram
- Else, add the word a list
- Go back to step 3 untill you are out of words in the dictionary file.
Edit:
Heres a proof of concept for that algorithm. I also made a little bot to type it for you. I'd suggest having a copy of notepad running when you use this.
source code and dictionary file included.
http://www.megaupload.com/?d=A1XVC576
Labels:
build,
compsci,
demo,
free stuff,
programing,
project,
pseudocode
Subscribe to:
Posts (Atom)