Patrick's Projects
this was my attempt at http://rogueliketutorials.com/ project-- much fun!
Abbreviate a Two Word Name code wars problem
Just some Angular practice
You are given the length and width of a 4-sided polygon. The polygon can either be a rectangle or a square. If it is a square, return its area. If it is a rectangle, return its perimeter.
Given two arrays a and b write a function comp(a, b) (orcompSame(a, b)) that checks whether the two arrays have the "same" elements, with the same multiplicities (the multiplicity of a member is the number of times it appears). "Same" means, here, that the elements in b are the elements in a squared, regardless of the order.
create a function that compares your grade with the average class grade and return true or false if you are better
write a function that returns all the elements in an array except the last one-
this is wes bos JS30 array cardio lesson
write a function that first concatenates a multidimensional array into a flat array, sorts them in descending order, then joins them with > as a separator
implement a difference function, which subtracts one list from another and returns the result. It should remove all values from list a, which are present in list b keeping their order.
Given two integer arrays a, b, both of length >= 1, create a program that returns true if the sum of the squares of each element in a is strictly greater than the sum of the cubes of each element in b.
Given an array of integers of any length, return an array that has 1 added to the value represented by the array. the array can't be empty only non-negative, single digit integers are allowed Return nil (or your language's equivalent) for invalid inputs.
Return the average of the given array rounded down to its nearest integer.
Write a function which calculates the average of the numbers in a given list.
a text deductive logic game from Al Sweigart's Big Book Of Small Projects
write a function which converts a binary number (given as a string) to a decimal number.
For this game of BINGO, you will receive a single array of 10 numbers from 1 to 26 as an input. Duplicate numbers within the array are possible. Each number corresponds to their alphabetical order letter (e.g. 1 = A. 2 = B, etc). Write a function where you will win the game if your numbers can spell "BINGO". They do not need to be in the right order in the input array). Otherwise you will lose. Your outputs should be "WIN" or "LOSE" respectively.
a book storage list made with javascript and styled with bootstrap
write a function that determine the number of magazines that every soldier has to have in his bag
Given a series of digits as a string, determine if the number represented by the string is divisible by three.
write a simple helper function to capitalize a string (that contains a single word
write a function that if given a string will return a string that is appropriately capitalized
write a function that calculates a cats and dogs age compared to human years
write a function that fixes the issues with the installed character recognition software- changes s to 5, i to 1, and o to 0 - this should not happen
Write a function that tests if the factor is a factor of base. Return true if it is a factor or false if it is not.
Write a function that will check if two given characters are the same case. If either of the characters is not a letter, return -1 If both characters are the same case, return 1 If both characters are letters, but not the same case, return 0
a repo of various coding problems - could be codewars, or leetcode, or hackerrank, or project euler - just depends on time available
more codewars, leetcode, etc