May 2011
12 posts
5-star challenges
I’ve yet to come up with anything crazy enough that I would be willing to call it a 5-star challenge. Anyone have any ideas?
May 9th
6 tags
May 8th
1 note
Code Katas →
another great source of possible challenges to try out.
May 7th
4 tags
Wheel Of Fortune
Challenge #8 Difficulty: ★ ★ ★ ☆ ☆ A harder version of the previous challenge. similar hangman rules, but with 2 computer controlled AI players, and a random wheel scoring system. also includes allowing players to buy vowels and solve the puzzle.
May 6th
4 tags
Hangman
Challenge #7 Difficulty: ★ ★ ☆ ☆ ☆ read a dictionary of words from a file, then give the user x number of guesses of letters to figure out the word.
May 5th
Maze Problems
Challenge #6 Difficulty: Multiple, see below. Part 1: build an n x m maze, and allow the user to attempt to solve it by telling them which directions they have available to move (north, south, east, west). The maze must have a set start point and end point. Difficulty: ★ ☆ ☆ ☆ ☆ Part 2: Write an AI for the program that can solve the maze itself, given only the knowledge of its current...
May 4th
Project Euler →
Another great place to find practice problems. over 300 math-based, language agnostic puzzles.
May 3rd
9 tags
Pixel/Minecraft Circle Approximation
Challenge #5 Difficulty : ★ ★ ★ ☆ ☆ since pixels (or minecraft blocks) are square, they can’t represent a circle perfectly. figure out the closest approximation of a circle for a given pixel diameter. Sample Input: 7 Sample Output: xxx x x x x x x x x x x xxx Here is an image to help give you a better idea of what the output should look like
May 3rd
3 notes
5 tags
Tic-Tac-Toe
Challenge #4 Difficulty : ★ ★ ☆ ☆ ☆ Write a program that take the input 1 - 9 (or 0 - 8 if you prefer) and use that to play tic-tac-toe against the computer. 1 | 2 | 3 ----------- 4 | 5 | 6 ----------- 7 | 8 | 9 example of numbers corresponding to the tic-tac-toe board. After you make a move, the computer should make a move,(preferably playing perfect tic-tac-toe strategy,...
May 3rd
1 note
5 tags
Create a Twitter Clone
Challenge #3 Difficulty : ★ ★ ☆ ☆ ☆ challenge may vary depending on what (if any framework) you choose to use for this one. Create a basic clone of the twitter service, requirements are as follows: An authentication system Ability to post a 140 character message Ability to follow people and see their statuses in chronological order. Ability to see how many users are are following,...
May 3rd
4 tags
Playing Perfect Blackjack
Challenge #2 Difficulty : ★ ★ ☆ ☆ ☆ Input: 3 characters, representing your hand, and the dealers up card (note: T denotes a ten) Example: 58 Q, for a hand of 13(5 and 8) and the dealer is showing a queen Output: the correct move to make based on probabilities. Correct answers are ‘Hit’, ‘Stand’, ‘Double Down’ and ‘Split’. Given the...
May 3rd
4 tags
FizzBuzz
Challenge #1 Difficulty : ★ ☆ ☆ ☆ ☆ The classic programming challenge: Print a list of numbers from 1 to 100. When the number is divisible by 3, print “fizz”. when the number is divisible by 5, print “buzz”. when the number is divisible by 3 and 5, print “fizzbuzz” Note: also makes a fun drinking game
May 3rd