Lonpeach Tech

게임 개발 이슈 정리

[Codewars #15] Are they the same? (6kyu)

[Codewars #15] Are they the same? (6kyu) 문제 풀이

Instructions Given two arrays a and b write a function comp(a, b) (compSame(a, b) in Clojure) that checks whether the two arrays have the “same” elements, with the same multiplicities. “Same” mean...

[Codewars #14] Sum of a sequence (7kyu)

[Codewars #14] Sum of a sequence (7kyu) 문제 풀이

Instructions Your task is to make function, which returns the sum of a sequence of integers. The sequence is defined by 3 non-negative values: begin, end, step. If begin value is greater than th...

[Codewars #13] Help the bookseller (6kyu)

[Codewars #13] Help the bookseller (6kyu) 문제 풀이

Instructions A bookseller has lots of books classified in 26 categories labeled A, B, … Z. Each book has a code c of 3, 4, 5 or more capitals letters. The 1st letter of a code is the capital lette...

[Codewars #12] Factorial (7kyu)

[Codewars #12] Factorial (7kyu) 문제 풀이

Instructions In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n. For example: 5! = 5 * 4 * 3 * 2 * 1 = 120. B...

[Codewars #11] Who likes it? (6kyu)

[Codewars #11] Who likes it? (6kyu) 문제 풀이

Instructions You probably know the “like” system from Facebook and other pages. People can “like” blog posts, pictures or other items. We want to create the text that should be displayed next to s...

[리뷰] 게임 프로그래머로 산다는 것

게임 프로그래머로 산다는 것을 읽고

기간 2일 목적 게임 프로그래머로 산다는 것. 게임 프로그래머의 5인의 이야기를 책으로 만날 수 있다. 현업에 종사하는 사람으로써 이 책을 안 보고 넘어 갈 수 없었다. 리뷰 게임을 만드는 사람들의 이야기다. “나는 이렇게 살고 있는데, 여러분은 어떻습니까?”라고 동료로서 선배로서 그들의 진솔한 이야기를 들려준다. 책의 특징 ...

[Codewars #10] Find the unique number (6kyu)

[Codewars #10] Find the unique number (6kyu) 문제 풀이

Instructions There is an array with some numbers. All numbers are equal except for one. Try to find it! 1 2 findUniq([ 1, 1, 1, 2, 1, 1 ]) === 2 findUniq([ 0, 0, 0.55, 0, 0 ]) === 0.55 It’s gua...

[Codewars #9] The Feast of Many Beasts (8kyu)

[Codewars #9] The Feast of Many Beasts (8kyu) 문제 풀이

Instructions All of the animals are having a feast! Each animal is bringing one dish. There is just one rule: the dish must start and end with the same letters as the animal’s name. For example, t...

[Codewars #8] Fake Binary (8kyu)

[Codewars #8] Fake Binary (8kyu) 문제 풀이

Instructions Given a string of digits, you should replace any digit below 5 with ‘0’ and any digit 5 and above with ‘1’. Return the resulting string. My Solution 1 2 3 4 5 6 7 8 9 10 11 12 13 14...

[Codewars #7] Remove the minimum (7kyu)

[Codewars #7] Remove the minimum (7kyu) 문제 풀이

Instructions The museum of incredible dull things The museum of incredible dull things wants to get rid of some exhibitions. Miriam, the interior architect, comes up with a plan to remove the mos...